Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement