General discussions related to php
Moderators: macek, egami, gesf
by henris » Fri Jul 20, 2012 2:19 am
Hello,
How can I get the actual date in numeric integer form.
Thanks
Henris
-
henris
- New php-forum User

-
- Posts: 3
- Joined: Tue Jul 17, 2012 11:54 pm
by Nullsig » Fri Jul 20, 2012 3:28 am
strtotime will convert a date (yyyy-mm-dd) into an integer that represents seconds since January 1st, 1753
-

Nullsig
- php-forum Fan User

-
- Posts: 981
- Joined: Thu Feb 17, 2011 6:52 am
- Location: Racine, WI
by henris » Fri Jul 20, 2012 2:42 pm
What I would like is to display the actual system date number automatically (so changing every day)
Henri
-
henris
- New php-forum User

-
- Posts: 3
- Joined: Tue Jul 17, 2012 11:54 pm
by Nullsig » Tue Jul 24, 2012 4:15 am
I am afraid I don't understand what you mean.
You want the day of the month? Day of the year?
-

Nullsig
- php-forum Fan User

-
- Posts: 981
- Joined: Thu Feb 17, 2011 6:52 am
- Location: Racine, WI
Return to PHP General
Who is online
Users browsing this forum: No registered users and 2 guests