Hi ! From the date 2001-03-02 11:25:01 how to take 2001-03-02 or 02-03-2001 Thanks, Vishnu
The simplest way is to take in an array..
$var = "2001-03-02 11:25:01"; $var1 = substr("$var",0,10); echo $var1;
If u caould explain properly what exactly u r looking i may try to help you more clearly.
Chadnerjit