LimeSurvey/LimeSurvey — pull request #82 by mfaber (2013-05-15 21:58:40+00:00)
Title: Expression manager: implement PHP function strtotime

facilitates the calculation with dates/times in expression manager. E.g.
calculation of difference in days between two dates entered in previous
questions of the survey

The function makes life easier compared to using something like {mktime(0,0,0,substr(date1,3,2),substr(date1,0,2),substr(date1,6,4))}

-----
DEVS: thanks for the feedback on my first attempt. Had to start over because of git giving me trouble.

Tried to implemented T White's suggestions in this new version.

strtotime-js behaves a little differently compared to strtotime-php (think the problem is incomplete implemenation of timezones on part of strtotime-js)
----