DtToS Function | |
Convert a DateTime value to a string formatted as string in ANSI format
Namespace:
XSharp.Core
Assembly:
XSharp.Core (in XSharp.Core.dll) Version: 2.21
Syntax FUNCTION DtToS(
dDate AS DateTime
) AS STRING
public static string DtToS(
DateTime dDate
)
Request Example
View SourceParameters
- dDate
- Type: DateTime
The DateTime to be converted
Return Value
Type:
String
An 8-character string in the format yyyymmdd. If dDate is a DateTime.MinValue, a string of eight spaces is returned. The return value is not affected by the current date format.
See Also