Knight Data Access Layer
GetDatabaseServerDate Method (MySqlProvider)




KellermanSoftware.NetDataAccessLayer.Providers Namespace > MySqlProvider Class : GetDatabaseServerDate Method
Get the current date from database server
Syntax
Public Overrides Function GetDatabaseServerDate() As Date
Dim instance As MySqlProvider
Dim value As Date
 
value = instance.GetDatabaseServerDate()
public override DateTime GetDatabaseServerDate()
public: DateTime GetDatabaseServerDate(); override 
public:
DateTime GetDatabaseServerDate(); override 

Return Value

Server Date as DateTime object
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

MySqlProvider Class
MySqlProvider Members