'UTC()' Syntax, Parameters and Note : UTC « Javascript Methods « JavaScript Reference

Home
JavaScript Reference
1.Event Handlers Reference
2.Javascript Collections
3.Javascript Methods
4.Javascript Objects
5.Javascript Properties
JavaScript Reference » Javascript Methods » UTC 




'UTC()' Syntax, Parameters and Note

Note:

Uses UTC time to get the milliseconds elapsed between January 11970 and 
the specified date.
    
Syntax:
    
dateName.UTC(param1, param2, param3, param4, param5, param6, param7)

Parameters:
    param1   Required; the four-digit year.
    param2   Optional; the month. Value: to 11.
    param3   Optional; the day of the month. Value: to 31.
    param4   Optional; the hour. Value: to 23.
    param5   Optional; the minutes. Value: to 59.
    param6   Optional; the seconds. Value: to 59.
    param7   Optional; the milliseconds elapsed during the current second. 
                       Value: to 999. 

    

      
      














Related examples in the same category
1.'UTC()' Example
2.'UTC()' is applied to
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.