DateTime
DateTime 1.03
Added custom time shift
Outputs time as a string. If no time specified, displays current time. Uses server offset and custom time shift (new).
Parameters:
Counts server offset (set in Manager - Administration: System Configuration)automaticaly.
* Original author Alex Butter.
* 1.02 amended 08Aug06 by Paul Gregory, inspired by doze & breezer.
* 1.03 by Aramaki 27 Jan 2008
Create new snippet DateTime and paste txt-file content
Usage
[[DateTime? &format=`%d.%m.%Y` &shift=`432000` ×tamp=``]]
Description
Previous version DateTime 1.02Parameters:
- &format (see http://php.net/strftime) = %d-%m-%Y %H:%M:%S (01-10-2007 15:40:37)
- ×tamp (Unix-timestamp) = now (current time & date )
- &shift (in seconds) = 0 (for +5 days shift use 432000 = 60*60*24*5)
Counts server offset (set in Manager - Administration: System Configuration)automaticaly.
* Original author Alex Butter.
* 1.02 amended 08Aug06 by Paul Gregory, inspired by doze & breezer.
* 1.03 by Aramaki 27 Jan 2008
Instructions
InstallationCreate new snippet DateTime and paste txt-file content
Usage
[[DateTime? &format=`%d.%m.%Y` &shift=`432000` ×tamp=``]]
Previous Releases
Extras
No results found.