Insert the current date & time.
apm install date
or find it in the Packages tab under settings
Select a command from Packages
, Date & Time
.
You can also bind your keys to date:date
, date:time
and date:datetime
.
You can specify the following options for the date and time format:
- YYYY - Four digit year
- MMMM - Full month name. ie January
- MMM - Short month name. ie Jan
- MM - Zero padded month ie 01
- M - Month ie 1
- DDDD - Full day or week name ie Tuesday
- DDD - Abbreviated day of the week ie Tue
- DD - Zero padded day ie 08
- D - Day ie 8
- HH24 - Hours in 24 notation ie 18
- HH - Padded Hours ie 06
- H - Hours ie 6
- MI - Padded Minutes
- SS - Padded Seconds
- PP - AM or PM
- P - am or pm