Wrox Home  
Search P2P Archive for: Go

  Return to Index  

proasp_howto thread: DateAdd -- adding fractional hours


Message #1 by "S. Sridhar" <sridhar@o...> on Tue, 12 Feb 2002 22:08:04 -0500
This is a multi-part message in MIME format.

------=_NextPart_000_007A_01C1B47D.1B6107A0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

Then = Now() + 9.5/24
  -----Mensaje original-----
  De: S. Sridhar [mailto:sridhar@o...]
  Enviado el: miércoles, 13 de febrero de 2002 4:08
  Para: Pro ASP HowTo
  Asunto: [proasp_howto] DateAdd -- adding fractional hours


  Hi:

  VBScript provides: DateAdd("h", 9.5, Now)

  this adds 9.5 hours to Now. But the problem is that VBS truncates the 0.5
and adds only 9 hours to Now. Is there a workaround or a freeware function
to overcome this limitation?

  --sridhar
$subst('Email.Unsub').



  Return to Index