Routines (alphabetical) > Routines: B > BIN_DATE

BIN_DATE

Syntax | Return Value | Arguments | Keywords | Version History | See Also

The BIN_DATE function converts a standard form ASCII date/time string to a binary string.

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.

Syntax

Result = BIN_DATE(Ascii_Time)

Return Value

The function returns a six-element integer array where:

Arguments

Ascii_Time

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:

DOW MON DD HH:MM:SS YYYY

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, and YYYY is the year.

Keywords

None.

Version History

Pre 4.0

Introduced

See Also

CALDAT , JULDAY , SYSTIME