Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- GT_LIB v1.0 Reference Guide Release 1.0 - <b>pack a clipper date value down to 50% it's original size.</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Pack a Clipper date value down to 50% it's original size.
------------------------------------------------------------------------------

 Syntax

        GT_DatePack([<dDate>]) --> cPackedDate

 Arguments:

      <dDate> is the date value to be packed. If not passed it defaults
      to the system date.

 Returns:

      A character string that is a packed version of the date.

 Description:

      GT_DatePack() can be used to pack a date value into half it's
      original size. This can be a help when trying to reduce the size
      requirements of your database files.

 Examples:

      // Place a couple of packed date values into a database.

      Customer->Entry_Date := GT_DatePack()   // Todays date.
      Customer->Call_Date  := GT_DatePack(dCallDate)

 Source: DATEPACK.PRG

 Author:  Dave Pearson

See Also: GT_DATEUNPACK()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson