| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Spare Parts
Join Date: Jan 2005
Location: Bracknell Forest
Posts: 5,090
|
PHP dates - assess current date.
Need to assess the current server date and time and return Hour (24hr) and Day. Can anyone help, save me poring over the books. Me and dates never got on. Pleeeeeese |
|
|
|
|
|
#2 (permalink) |
|
Barney army!
Join Date: Mar 2003
Location: London
Posts: 692
|
time() should return the current date/time as a Unix timestamp Use date() or strftime() to format it. Luke Redpath .::. Software Engineer .::. Reevoo - Real Reviews From Real Customers
|
|
|
|
#4 (permalink) |
|
Barney army!
Join Date: Mar 2003
Location: London
Posts: 692
|
__________________ Luke Redpath .::. Software Engineer .::. Reevoo - Real Reviews From Real Customers
|
|
![]() |