Dynamicweb 8 Documentation
SqlDate(DateTime) Method

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

Parameters

dateTime
Date as DateTime

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