Documentation for /home/davin/idl/socware/

Generated by IDLdoc

single page | use frames     summary     class     fields     routine details     file attributes

general/tplot/

gettime.pro


FUNCTION: gettime(x) INPUTS: x: Null or double or string or integer OUTPUT: double, seconds since Jan 1, 1970 Examples: t = gettime('95-7-4/12:34') t = gettime('12:34:56') (get time on reference date) t = gettime(t+300.) (assumes t is a double) t = gettime(10) (t = 10 am on reference date) t = gettime(/key) (prompts user for time on reference date) t = gettime(key='Enter time: ') t = gettime(/curs) (select time using cursor in tplot routine) KEYWORDS: KEYBOARD: If non-zero then user is prompted to enter a time. If KEYBOARD is a string then that string is used as a prompt. CURSOR: if non-zero then user can select a time with the cursor. VALUES: if cursor keyword set, returns data values for time chosen. REFDATE: Sets the reference date if REFDATE is a string with format: "yyyy-mm-dd". CREATED BY: Davin Larson LAST MODIFICATION: @(#)gettime.pro 1.17 98/08/02

Routines

top source gettime

result = gettime(x, KEYBOARD=KEYBOARD, CURSOR=CURSOR, values=values, REFDATE=REFDATE)

Parameters

x

Keywords

KEYBOARD
CURSOR
values
REFDATE

File attributes

Modification date: Thu Feb 13 16:43:16 2014
Lines: 30