Functions.DtToS 方法 | |
Convert a DateTime value to a string formatted as string in ANSI format
命名空间:
XSharp.Core
程序集:
XSharp.Core (在 XSharp.Core.dll 中) 版本:2.22 GA
语法 FUNCTION DtToS(
dDate AS DateTime
) AS STRING
public static string DtToS(
DateTime dDate
)
查看代码参数
- dDate
- 类型:DateTime
The DateTime to be converted
返回值
类型:
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.
参见