Directory: general/misc/time/
Contents
.pro files
- day_to_year_doy.pro
NAME: day_to_year_doyPURPOSE: determines year and day of year given day since 0000 ADUSAGE: day_to_year_doy,daynum,year,doyINPUT: daynum: (long int) day since 0 ADOUTPUT: year: year (0 <= year <= 14699 AD) doy: day of year (1 <= doy <= 366)NOTES: This procedure is reasonably fast, it works on arrays and works from 0 AD to 14699 ADCREATED BY: Davin Larson Oct 1996FILE: day_to_year_doy.proVERSION: 1.2LAST MODIFICATION: 97/01/27
- doy_to_month_date.pro
PROCEDURE: doy_to_month_date, year, doy, month, dateNAME: doy_to_month_datePURPOSE: Determines month and date given the year and day of year.
- time_double.pro
FUNCTION: time_double(time)NAME: time_doublePURPOSE: A fast, vectorized routine that returns the number of seconds since 1970.
- time_epoch.pro
NAME: time_epochPURPOSE: Returns the EPOCH time required by CDF files.
- time_parse.pro
FUNCTION: time_parsePURPOSE: Parse a string or array of strings into double precision seconds since 1970 (a)using user provided format code or (b)using flexible formatting and no codeINPUTS: s : the input string or array of stringsKEYWORDS: tformat=tformat: Format string such as "YYYY-MM-DD/hh:mm:ss" (Default) the following tokens are recognized: YYYY - 4 digit year yy - 2 digit year (00-69 assumed to be 2000-2069, 70-99 assumed to be 1970-1999) MM - 2 digit month DD - 2 digit date hh - 2 digit hour mm - 2 digit minute ss - 2 digit seconds .fff - fractional seconds (can be repeated, e.g.
- time_pb5.pro
NAME: time_pb5PURPOSE: Returns the PB5 time required by CDF files.
- time_string.pro
FUNCTION: time_string(TIME)NAME: time_stringPURPOSE: Converts time to a date string.
- time_struct.pro
FUNCTION: time_struct(time)NAME: time_structPURPOSE: A fast, vectorized routine that returns a time structure.
- time_zone_offset.pro
FUNCTION: time_zone_offset()PURPOSE: Returns timezone offset in hours.