Corrected time formatting to be compatible with SQL Azure.