mariec wrote:
I don't know which database you are using, but I would recommend using timestamp. You can very easily do comparisons on dates and most databases are optimized to manage them.
Using varchar representations can also lead into other issues such as formatting (dd/MM/yyyy or MM/dd/yyyy for example).
Thanks for your reply.
I'm talking about time and not date. I just one to store an init time and a finish time for some process and I don't mind about date.
To be clear, If I do it with varchars I'll store 20:35 and not 12/20/2006 20:35.
any idea ?
Thanks in advance
C