Closed yichaoyu closed 13 years ago
Sure, since the database column is TIMESTAMP, format in db cannot be changed, I formatted the date selected from database.
And now() is not used to get the time.
ok. what is the date/time format when we deliver the receipt to the server now?
You don't need to deliver the receipt time, but if necessary, the format is "MM-DD-YY HH:MM:SS"
good, i'm closing the issue
I found that the receipt time format is "MM-DD-YY HH:MM:SS" and you used now() to get the time at the back-end. Can you modify that time format to "MM-DD-YY HH:MM AM(PM)" in the server when we front-ends are going to retrieve receipts from the database?