[Top] [Prev] [Next] [Bottom] [Contents]

SaVbsDateFixNow

Prints a VB Script function which checks if the value of a text field has a valid date in it. If the text field has an empty value, it sets the value to the current date/time.

Synopsis

#include "savbs.h"
int SaVbsDateFixNow();

Argument

None

Return Values

Returns an integer with a value of 0.

Description

Prints a VB Script function which checks if the value of a text field has a valid date in it. If the text field is empty, it sets the value to the current date/time.

Example

The code fragment:

SaVbsDateFixNow();
will write a string to standard out which is equivalent to the contents of the file:

config\htmlstyle\XValDateFixNow.vbs
in the Sapphire distribution.

See Also

SaVbsSsnCheck, SaVbsZipCheck, SaVbsCardCheck, SaVbsValDate, SaVbsValDateFuture, SaVbsValDatePast, SaVbsIsAllDigits, SaVbsIsAllLetters, SaVbsIsFieldNotBlank, SaVbsValEmail, SaVbsState, SaVbsSimpleFormat, SaRegVbsScripts, SaPrintVbsScripts



[Top] [Prev] [Next] [Bottom] [Contents]

info@bluestone.com
Copyright © 1997, Bluestone. All rights reserved.