From Scriptwiki
Jump to: navigation, search

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


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.


echo -a $date

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

echo -a $date(HH:nn)

This would e.g. echo 19:20 to the active window (19 o'clock and 20 minutes).