Purpose
Return a string containing the UT date for "tonight". Between
8am and 2pm (local time), this is tomorrow's UT date.
Usage
ut_date [-n] [-d value]
Arguments
-n = return date in numeric, rather than string format
-d = return the date for [today plus value] days from now
Output
Returns a string representing today's date; e.g., "2000feb07",
Author
Gregory D. Wirth, W. M. Keck Observatory
Exit values
0 = normal completion
1 = wrong number of arguments
Example
1) Return tonight's UT date
ut_date
output
2001mar10
2) Returns tonight's UT date in numeric format...
ut_date -n
output
2001 03 10
3) Returns yesterday's UT date in numeric format...
ut_date -n -d -1
output
2002 03 09