点击或拖拽改变大小

Functions.DtToS 方法

X#
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
查看代码

参数

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.
参见