[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  XPunpackDate()
  Restore the original date from a packed string.
------------------------------------------------------------------------------

  Function:    XPunPackDate()

               XPunpackDate() restores the date of a previously
               packed date using XPpackDate(). This can be handy
               when one wants to work with the date again, after
               having written it to the database or whatever.

  Syntax:      XPunPackDate(<cPackedDate>) --> dVar

  Arguments:   The 2 byte string that was returned by
               XPpackDate().

  Returns:     The original Date variable.

  Usage:       if Date() <> XPunpackDate(XPpackDate(Date()))
                    This_is_a_bug()
               Else
                    Do OkiDokee()
               endif

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