DB2 Date formats an important concept for SQL developers. Before they write SQL query, they should know the DATE format, so that they can avoid errors. DB2 supports four Date types – ISO, USA, EUR and JIS.
International Organization for Standardization (ISO)
IBM USA Standard (USA)
HH:MM AM or PM
IBM European Standard (EUR)
Japanese Industrial Standard (JIS)
Site Specific (LOC)
Based on database territory and country code, For date formats, YYYY = Year, MM = Month, and DD = Day;
for time formats, HH = Hour, MM = Minute, and SS = Seconds.