Ibm SQL Date and Time Format

Source: Internet
Author: User
Tags timestamp example

Speaking of date, this is a complicated format for many people. At least I have been a little scared about it. Every time the Code involves a date, it is very strange.

Summarize some SQL Date and Time formats:

Format name Date Format Date example Time Format Date example
USA Mm/DD/YYYY 5/19/1960 Hh: Mm AM/PM 2: 18 pm
Europe Dd. mm. yyyy 19.5.1960 HH. Mm. SS 14.18.08
Japan Yyyy-mm-dd 1960-5-19 Hh: mm: SS 14:18:08
ISO Yyyy-mm-dd 1960-5-19 HH. Mm. SS 14.18.08
         

 

Yyyy-mm-dd.hh, mm. Ss. NNN

Timestamp example 1960-05-19-14.182138.048 632

 

Updating ..

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.