$date

From Scriptwiki
Revision as of 19:21, 26 November 2005 by Doomie (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Returns the current date in day/month/year format.

$date

See Time and Date Identifiers for full list of possible formats.

Note that you can use $adate to get the current date in US format.

Example

echo -a $date

This would e.g. echo 26/11/2005 to the active window.


echo -a $date(HH:ss)

This would e.g. echo 19:20 to the active window.