Issue Feature Closed

#63561Add stdWrap strtotime

Mathias Brodala 12/04/14, 12:14 updated 10/19/17, 21:25

Description

To complement the existing date and strftime which allow converting timestamps to a formatted date the counterpart strtotime should be added to stdWrap. This allows for processing like this:

next_weekday = TEXT
next_weekday {
  data = GP:selected_date
  strtotime = + 2 weekdays
  strftime = %Y-%m-%d
}

For GP:selected_date having a value 2014-12-04 this would output 2014-12-08.

Reviews 1