The BIN_DATE function converts a standard form ASCII date/time string to a binary string. The function returns a six-element integer array where:
This routine is written in the IDL language. Its source code can be found in the file
bin_date.pro
in the
lib
subdirectory of the IDL distribution.
A string containing the date/time to convert in standard ASCII format. If this argument is omitted, the current date/time is used. Standard form is a 24 character string:
where DOW is the day of the week, MON is the month, DD is the day of month, HH:MM:SS is the time in hours, minutes, second, YYYY is the year.