Jump to content

How differs.........??


Maisara-WD
 Share

Recommended Posts

HiCan u tell me how the getUTC differs from the other get date methods, (Milliseconds, Second, Minutes, Hours, Day, Year, Full year.. etc..)Does it differs, I think it differs in the way we get the date with, but the result is exactly the same..Am I right

Link to comment
Share on other sites

Yes, getUTC gets all date fields (milli, second, minute, etc.) and the other methods get certain pieces of it. (I'm just paraphrasing Nathan rather than looking into it right now.)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...