Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: datetime conversion


Message #1 by "hanif Musa" <hanif_musa@h...> on Wed, 15 May 2002 08:19:02
HI 

I'm quite new to JScript so I hope someone can help me.

I am trying to compare two time values one is retrieved by the following 
code:

var sTime = today.toLocaleTimeString() the second is a text value and it's 
format is as follows:

9:35AM

I am having real trouble tring to convert the second time variable so that 
I can compare it to the first, any ideas would be really appreciated.

Thanks

  Return to Index