create new tag
, view all tags

DATETIME{"format"} -- date and time formatting and calculation

  • Calculate date and time in the past or future, and format date and time. This variable is handled by the DateTimePlugin.
  • Syntax: %DATETIME{"format"}%
  • Examples:
    • %DATETIME{"$wday"}% returns the current weekday
    • %DATETIME{"$year-$mo-$day" incdays="-7"}% returns the date of a week ago
    • %DATETIME{"$hour:$min" timezone="America/New_York"}% returns the current time in the time zone of New York, US
  • Category: DateAndTimeVariables, TablesAndSpreadsheetsVariables
  • Related: CALCULATE, GMTIME, DateTimePlugin
Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2016-04-26 - PeterThoeny
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.