SAS Quality Knowledge Base for Contact Information 27
Date/Time (DMY) Basic | ||
---|---|---|
Description | The Date/Time (DMY) Basic standardization definition standardizes dates that have format DMY HH:MM:SS. The output is a 4-digit year followed by a zero-padded two-digit month, followed by a zero-padded two-digit day, followed by a zero-padded two-digit hour, followed by zero-padded two-digit minutes, followed by zero-padded two-digit seconds. The day, month, and year are separated by spaces and the time elements are separated by spaces. The date and the time are separated by a "T". | |
Examples | Input | Output |
04/07/02 | 2002 07 04 | |
15 Oct 1970 | 1970 10 15 | |
11 May 2000 10:12:45 | 2000 05 11T10 12 45 | |
Remarks | The output of this definition is the same as Date/Time (MDY) Basic and Date/Time (YMD) Basic. |
Documentation Feedback: yourturn@sas.com |
Doc ID: QKBCI_EN_Std_DateTime-DMY-Basic.html |