2008. 02. 22, péntek keltezéssel 11.48-kor VamVan ezt írta:
> Hi All,
> 
> Greetings!!
> 
> A small PHP Script for help
> 
> <?php
> $date_format = '02/22/2008 14:00:00';
> 
> $start_date =  date("Y-m-d h:i:s", strtotime($date_format));

$start_date =  date("Y-m-d H:i:s", strtotime($date_format));

RTFM: http://hu.php.net/date ;)

greets
Zoltán Németh

> echo $start_date;
> ?>
> 
> output is 2008-02-22 02:00:00
> 
> but not 2008-02-22 14:00:00
> 
> How can i get my output as 2008-02-22 14:00:00.
> 
> Thanks
> V
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to