Sha256: 18aaeb5361f09579756a6b37d94617025b16ad58127b8b92d18f7850d4205b72
Contents?: true
Size: 648 Bytes
Versions: 8
Compression:
Stored size: 648 Bytes
Contents
To diplay todays date: |!c '''Markup Text'''|!c '''Displayed as'''| |!style_code(!-Today is !today.-!)|Today is !today.| |!style_code(!-XML is !today -xml.-!)|XML is !today -xml.| |!style_code[!-Right now it is !today -t.-!]|Right now it is !today -t.| |!style_code[!-Tomorrow is !today +1.-!]|Tomorrow is !today +1.| |!style_code[!-Last week was !today -7.-!]|Last week was !today -7.| |!style_code[!-The month is !today (MMM).-!]|The month is !today (MMM).| As you can see, you can add or subtract days. You can include the time with -t. And you can use your own format for the time. (See !style_code(!-SimpleDataFormat-!) for the syntax.)
Version data entries
8 entries across 8 versions & 1 rubygems