--- title: Date inMenu: true template: /plugin.template plugin: Tag/Date --- h2(#description). Description The date tag is used to display the current time in a specific format (the format of Ruby's inbuilt method Time#strftime). Have a look a the examples below to see some possible outputs. h2(#examples). Examples
Usage | Output |
---|---|
\{date:} | {date:} |
\{date: {format: %Y-%m-%d %H:%M:%S}} | {date: {format: %Y-%m-%d %H:%M:%S}} |
\{date: {format: %x - %X}} | {date: {format: %x - %X}} |