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!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.