bottecchia
Programmer
Hi,
excuse me for the simplicity of my question, but I'm a beginner..
I've read the methods of the class Date and I've seen that both getTime and valueOf return the time in milliseconds since 1970. Is there a difference? When have I to use one or the other?
Thanks in advence!
excuse me for the simplicity of my question, but I'm a beginner..
I've read the methods of the class Date and I've seen that both getTime and valueOf return the time in milliseconds since 1970. Is there a difference? When have I to use one or the other?
Thanks in advence!