I have some functionality that depends on whether or not it has happened a while ago. Currently, I do something like this:
$ hike_time = strtotime ($ month. '' '$ Day.' / '. $ Year.' '. $ Start_time); ($ Hike_time & lt; mktime ()) {// Do stuff :)} But as long as I do not change the functionality, I have to wait a day or twelve hours (now Not sure yet)
How can I make an ammium (1) +1 day or 12 hours?
In the context of UX, how is this kind of incident-based UX Quirks usually controlled?
You strtotime () . $ yesterday = can use strtotime ('+1 days'); Var_dump (date (DATE_RFC850, time ()), // string (30) "Monday, 28-March-05 05:48:47 UTC" date (DATE_RFC850, $ tomorrow) // string (31) "Tuesday, 29- March-11 05:48:47 UTC "); .
Comments
Post a Comment