date://
Usage:
date://<cmd>(<value>);<opt1>;<opt2>
or
date://<date>+-<date>;<interval>
or
date://<date>+n<interval>;<opt1>
Where <cmd> is a special date command,
<value> is a value, usually a date,
<opt1>,<opt2> are formatting options specific to each command,
<date> is a date
<interval> is an interval like days, weeks, etc
Items between [square brackets] are
optional
The pipe character (|) is used like the
word OR. So, [value1|value] means that either value1 or value2
Examples and explanations:
(in the examples, the <
and > should be left out when using cmdLine:// Plus!)
cmdLine:// Plus! when evaluating date:// commands will replace any ? marks
with the current date and will replace ?? marks with a date you choose
from a calendar window that will popup.
-
date://today[;long|;short|;medium]
returns the current date where
;long after the date returns a long date like Wednesday, June 1, 2000
;medium after the date returns a medium date like Wed, Jun 1, 2000
;short after the date returns a short date like 06/01/2000
;number after the date returns the date with only the numbers like
20000601
-
date://cal[(<date>)]
shows a 2 month calendar
if a <date> is passed between ( ) then the selected date in the calendar
is that date otherwise the calendar defaults to the current date
-
date://day(<date>)
returns the number day of the supplied date
-
date://month(<date>)
returns the number month of the supplied date
-
date://year(<date>)
returns the year from the supplied date
-
date://number(<date>)
returns the number of days from Jan 1 to the date supplied
-
date://percent(<date>)
returns a percentage where the date supplied is X% of the entire year
-
date://week(<date>)
returns the week number of the year for the supplied date
-
date://weekday(<date>)[;l|m|s|n]
returns the day of the week for the supplied date
use ;l to return the full weekday name
use ;m to return the first 3 letters of the weekday name
use ;s to return the first 2 letters of the weekday name
use ;n to return the number of the weekday (1-7)
-
date://(<date>)+n[;<interval>[;<format>]]
returns a date where the specified number (n) is added
from the supplied date
if <interval> is not supplied, days are added
-
date://(<date>)-n[;<interval>[;<format>]]
returns a date where the specified number (n) is subtracted
from the supplied date
if <interval> is not supplied, days are subtracted
-
date://(<date>)-(<date>)[;<interval>]
returns the number of <interval> difference between two
dates; if <interval> is not supplied, days are used
|