Login
Register
All class groups
Latest entries
Top 10 charts
Blog
Forums
Shop
Help
Login
Register
Why not DateTime
Search
All class groups
Latest entries
Top 10 charts
Blog
Forums
Shop
Help
Recommend
this page to a friend!
Cron PHP DateDiff
>
All threads
>
Why not DateTime
>
(Un) Subscribe thread alerts
Subject:
Why not DateTime
Summary:
Why dont you use DateTime Objects.
Messages:
3
Author:
meivin123
Date:
2014-09-24 14:29:33
1. Why not DateTime
Reply
Report abuse
meivin123 - 2014-09-24 14:29:33
Why dont you just sue the DateTime::diff() method to determine time diffrences.
It is available in PHP 5.2
2. Re: Why not DateTime
Reply
Report abuse
Everton da Rosa - 2014-09-24 17:52:31 -
In reply to
message 1
from meivin123
Because at the time did not know this.
3. Re: Why not DateTime
Reply
Report abuse
meivin123 - 2014-09-24 20:45:31 -
In reply to
message 2
from Everton da Rosa
You realy should. Ive worked with date functions too, but DateTime, DateInterval and DatePeriod gives you so much more opportunitys.
Good article to start is this here:
code.tutsplus.com/tutorials/dates-a
...
About us
Advertise on this site
Site map
Newsletter
Statistics
Site tips
Privacy policy
Contact
Copyright (c)
Icontem
1999-2025
For more information send a message to
info at phpclasses dot org
.
image/svg+xml
image/svg+xml
Contact us using Messenger