Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- SIx Driver RDD v3.00 - Reference Guide - <b>sxdate():</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  sxDate():

  Syntax:     sxDate( [<xValue>] )

  Returns:    If no parameter is passed, an empty date value is returned.
              Otherwise, sxDate() attempts to convert whatever value is
              passed to it to a valid date value.

  Description:  This function is primarily intended for use in creating
                a template for multi-key, free-format index files.

                You can also use this function as a generic conversion
                functions for insuring that a date value is returned.
                For example:

                  ? sxDate( "01/31/92" )  // Returns 01/31/92 as a date value
                  ? sxDate( ctod( "01/31/92" ))   // Same as above


  NOTE: Just by using this function in your INDEX command, you will create
        an empty Multi-Keyed, Free-Format RYO index.  The INDEX command's
        EMPTY clause is not needed and will have no effect if used.


   Example:  See the examples for sxChar() and sxNum() for examples that
             can also be applied to the sxDate() function.



See Also: Sx_KeyAdd() sxChar() sxNum() sxLog() Multi-Key, Free-Format Indexes

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