Hi all, I am working on a module of Php project with SQL server. I design a date filed in the table smalldatetime types. I want to get Hour and minutes. I write the code bellow: Its works for hour but not for minutes. pls give me idea if diff way ...... many thx
[code=php]
$S= gmdate("H", strtotime($row[2]));
$Sm= gmdate("m", strtotime($row[2]));[/code]
[code=php]
$S= gmdate("H", strtotime($row[2]));
$Sm= gmdate("m", strtotime($row[2]));[/code]
Comment