convert date format variable php sql server get time in hour minute format from a