Dynamicweb 8 Documentation
SqlDate(String) Method

The date time as a string.
Returns a date in the appropriate database format.
Syntax
'Declaration
 
Public Overloads Shared Function SqlDate( _ 
   ByVal dateTime As String _ 
) As String
public static string SqlDate( 
   string dateTime 
)

Parameters

dateTime
The date time as a string.

Return Value

Returns a string representation of the sqldate.
Remarks
The string format is based on the database type set up for the particular solution.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Database Class
Database Members
Overload List

Send Feedback