Datetime Helper |
(10-18-2017, 04:15 AM)InsiteFX Wrote: This is a framework not WordPress. Yes you certainly can. I found a brilliant 'time passed' snippet for my own common functions library in about five minutes. One that lets me set an arbitrary amount of units too, so I can have 2 hours or 2 hours and 3 minutes or 2 hours 3 mins and 27 seconds. (10-18-2017, 06:09 AM)kilishan Wrote: Already in there, similar to Carbon, etc. But fully localized with the system's timezone and locale and easy to convert between that and the user's timezone/locale. And I had no idea about that one. What a great addition. Thank you for sharing. Paul. |
Messages In This Thread |
Datetime Helper - by dimsagara - 10-18-2017, 01:13 AM
RE: Datetime Helper - by InsiteFX - 10-18-2017, 04:15 AM
RE: Datetime Helper - by emmanuel - 01-04-2018, 03:45 PM
RE: Datetime Helper - by kilishan - 10-18-2017, 06:09 AM
RE: Datetime Helper - by PaulD - 10-18-2017, 10:22 AM
RE: Datetime Helper - by InsiteFX - 10-19-2017, 03:44 AM
|