Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Tom Rettigs Library - stod(<c date string>) http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 STOD(<C date string>)
 Converts a date string to date type.
 Returns <expD> date type of <date string>.

 <date string> is in the format "YYYYMMDD".

 Returns a blank date if <date string> is invalid

 * Date string from calculations may be invalid
 m_datestr = STR(  YEAR(DATE())            ) +;
             STR( MONTH(DATE()) + m_months ) +;
             STR(   DAY(DATE()) + m_days   )

 * Date type is blank if date string is invalid
 date_type = STOD(m_datestr)

 * Date type is valid even if date string is invalid
 date_type = STOD( MAKEDATE(m_datestr) )


             Placed in the Public Domain by Tom Rettig Assoc.

See Also: ISDSDATE() MAKEDATE() NTOD()

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