Closed xianghongai closed 5 years ago
You can use
Insert Formatted DateTime (
⇧+⌘+⌥+I
on OS X,Ctrl+Alt+Shift+I
on Windows and Linux) - Prompt user for format and insert formatted date and/or time at the cursor position.
to insert custom, ad hoc formats.
insert formatted datetime
is perfect if it remembers the last format.
Insert DateTime with custom rule:
The format
YYYY-MM-DD-hh:mm:ss
is required, and at the same time, the format-YYYYMMDD-hhmmss
is required, so need a custom rule. :)