please dont rip this site
Microsoft® JScript
UTC Method

See Also

| Language Reference |


Description
Computes the number of milliseconds between midnight, January 1, 1970 UTC (or GMT) and the supplied date.
Syntax

Date.UTC( year, month, day, hours, minutes, seconds )

The UTC method syntax has these parts:

Part Description
year The year minus 1900. For example, specify 105 for the year 2005.
month The month as an integer between 0 and 11 (January and December).
day The day as an integer between 1 and 31.
hours Optional. Must be supplied if minutes is supplied. An integer from 0 to 23 (midnight to 11pm) that specifies the hour.
minutes Optional. Must be supplied if seconds is supplied. An integer from 0 to 59 that specifies the minutes.
seconds Optional. An integer from 0 to 59 that specifies the seconds.
Remarks

The UTC method returns the number of milliseconds between midnight, January 1, 1970 UTC (Universal Coordinated Time) and the supplied date. This return value can be used in the setTime method and in the Date object constructor.

The difference between the UTC method and the Date object constructor that accepts a date, is that the UTC method assumes UTC, and the Date object constructor assumes local time.

The UTC method is a static method. A Date object does not have to be created before it can be used.


© 1996 by Microsoft Corporation.


file: /Techref/language/asp/js/50.htm, 3KB, , updated: 1996/11/22 10:12, local time: 2024/12/18 23:16,
TOP NEW HELP FIND: 
18.119.138.244:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://massmind.org/techref/language/asp/js/50.htm"> Microsoft&#174; JScript Language Reference </A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to massmind.org!

 

Welcome to massmind.org!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .