General information
Category:
Coding, syntax & commands
Title:
How to store the field in table as time format ?
I have 4 variables that is each represent :
hour,minute,second,AM/PM.
can i trim this 4 value to convert to time format and store into table ?
After that i want to retrive it and do a compare to the system time.
eg. if ntimeformtable > time()
but another problem is the time() will be in 24 hours format and the time retrive form table will be 12 hour which have AM/PM. How to compare it ?
help!!
thanks
regard,
chang
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only