| Home | How To | Online Documentation | Support | Download | Order |
|
|
SADateTime asDateTime( )
const; operator SADateTime( ) const; asDateTime method returns the value of current object (usually SAField or SAParam object) as SADateTime data. operator SADateTime() substitute asDateTime method to provide quick access for object's value. RemarksIf the value of current object is NULL, asDateTime method returns an empty SADateTime object. Use SAValueRead::isNull method to make sure if the value is NULL or not. If the value's type of current object is SA_dtDateTime, asDateTime method returns SADateTime object. If the value's type of current object is any data type except SA_dtDateTime, the result is undefined and debug version asserts. Use SAValueRead::DataType method to get the value's type of SAValueRead object.
Server specific notesNo specific information. See alsoisNull, asBool, asShort, asLong, asDouble, asNumeric, asString, asBytes, asLongBinary, asLongChar, asBLob, asCLob, asCursor, DataType Problems and QuestionsIf you haven't found the answer to your questions or have some problems on using the Library, please, send e-mail to howto@sqlapi.com. |
||||||||||||||||||