[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
VS_AddHours()        Add a specified number of hours to a "date/time"     NEW

Description:

  VS_AddHours() allows you to add a specified number of hours to a
  "date/time" numeric value.

Syntax:     

  n_DT2 := VS_AddHours( n_DT1, n_Hours )

Pass:       

  n_DT1 is a numeric "date/time" value as returned by VS_DateTime()

  n_Hours is a numeric that should represent the number of hours you
  want to add to n_DT1.

Return:     

  n_DT2 is a numeric value that will contain a "date/time" numeric
  value representing n_DT1 plus n_Hours.

Notes:      


Example:    

  n_DT1 = VS_DateTime( CTOD("01/01/91"), TIME() )

  ? VS_AddHours( n_DT1, 5 )

Usage:      

See Also: VS_AddDays() VS_AddMins() VS_AddSecs()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson