Changes between Version 5 and Version 6 of plugin_time


Ignore:
Timestamp:
09/09/08 19:09:44 (11 years ago)
Author:
bernhard.walle@gmx.de
Comment:

Add strftime_tz()

Legend:

Unmodified
Added
Removed
Modified
  • plugin_time

    v5 v6  
    99||time()||returns the number of seconds since 00:00:00 UTC, January 1, 1970||
    1010||strftime(format, time)||converts a time value according to <format>||
     11||strftime_tz(format, time, timezone)||Sane as strftime() but with additonal time zone specification||
    1112
    1213Both functions simply use the corresponding C functions, so for details have a look at time(3) and strftime(3).
     
    6162----
    6263
     64
     65== Time Zones: ==
     66
     67For the time zone specification, you can set whatever Linux accepts as its "TZ" environment. Normally that's a city like "Europe/Berlin" (see /usr/share/zoneinfo) or a generic time zone string like "UTC". See also the tzset(3) manual page.
     68
     69----
     70
    6371== Example ==
    6472