2007-02-28: webgen 0.4.2 released! Bugs fixed and some feature added! More...
2007-01-12: webgen 0.4.1 released! Bug fix for running webgen on Windows and other small updates! More...
2007-01-05: webgen 0.4.0 released! Major update to the core and plugins and many new features added! More...
Plugin name: | Tag/Date (Tag/Default) |
---|---|
Author: | Thomas Leitner <t_leitner@gmx.at> |
Summary: | Prints out the current date/time in a customizable format |
Parameters: | format: "%A, %B %d %H:%M:%S %Z %Y" |
Handled tags: | date |
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.
Usage | Output |
---|---|
{date:} | Friday, May 25 10:59:14 GMT 2007 |
{date: {format: %Y-%m-%d %H:%M:%S}} | 2007-05-25 10:59:14 |
{date: {format: %x – %X}} | 05/25/07 – 10:59:14 |