Project

General

Profile

Actions

Feature proposal #4240

closed

Implement support for strtotime now usage

Added by krileon over 10 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
16 September 2013
Due date:
% Done:

100%

Estimated time:

Description

When using strtotime in conditionals it'd be good to be able to supply a date for now so a date could be added to or subtracted from. Example as follows

strtotime( +1 DAY, [cb_date] )

Normal strtotime should occur first though so you can do the following if needed.

strtotime( +1 DAY, strtotime( [cb_date] ) )

Actions #1

Updated by krileon over 10 years ago

  • Target version set to 6.0.0
Actions #2

Updated by krileon over 10 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

You can now use either/or usage as follows.

strtotime( VALUE, VALUE )
strtotime( VALUE )

Formation functions also are no longer case sensitive so you can use STRTOTIME if you want.

Actions #3

Updated by krileon over 9 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF