|
|
Insert Current Date
Insert the current date and time.
A variation of the Send Key Sequence function - Insert Current Date will retrieve the current date and time from your system and insert it into the current text field.
Parameters
Format
- The format to use when inserting the date and time. This parameter can contain
one or more of the following specifiers:
d - Day without leading zero.
dd - Day with leading zero.
ddd - Day abbreviation (Mon, Tue, ..).
dddd - Day name (Monday, Tuesday, ..).
m - Month without leading zero.
mm - Month with leading zero.
mmm - Month abbreviation (Jan, Feb, ..).
mmmm - Month name (January, February, ..).
yy - Year as two-digit number (01)
yyyy - Year as a four-digit number (2001)
h - Hour without a leading zero (0-23).
hh - Hour with a leading zero (00-23).
n | nn - Same as above, but applies to minutes.
s | ss - Same as above, but applies to seconds.
ampm - Uses 12-hour formatting for the preceding date and time, and displays the AM or PM sign according to time of day.
Format parameter examples
The date and time used below are : 5 minutes past 11 in the morning, on the 24th of December, 2001.
Format parameter = result
dd/mm/yyyy = 24/12/2001
mm.dd-yy = 12.24-01
mm-dd-yy hh:nn:ss = 12-24-00 11:05:00
h.nn ampm, mmm d = 11:05 AM, Dec 24
mmmm = December
h:nn = 11:05
|