<?php $ts = "2006-02-14 12:00:00"; echo date('y-m-d', strtotime($ts)); ?>
Posted 08 September 2006 - 03:42 PM
Posted 20 September 2006 - 10:37 AM
Dont know why I have so much trouble with dates... but - in regards to the above (using datetime) how can I -5days (or whatever) from a date from the database? It keeps bringing back weird dates etc..
Posted 20 September 2006 - 11:24 AM
Posted 03 October 2006 - 02:20 PM
go on give us a listen!
Posted 02 November 2006 - 09:39 AM
Iv got a timestamp field ( 02-11-2006 09:35:13 ) how do you search this way just via date (not bothered about the time) so I can do searches of dates etc..?
Posted 02 November 2006 - 09:41 AM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users