Class Date
平台自定义Date对象
Class Summary
Date()
平台自定义Date对象
Method Summary
<static> string
sysDate()
获取当前系统日期(yyyy-MM-dd)
<static> string
sysDateTime()
获取当前系统日期时间(yyyy-MM-dd hh:mm:ss)
<static>
Date
strToDate(str)
日期格式字符串转换为日期对象
C
lass Detail
Date
平台自定义Date对象
Method Detail
<static> string
sysDate()
获取当前系统日期(yyyy-MM-dd)
Returns:
{string}
Example:
tlv8.System.Date.sysDate()
<static> string
sysDateTime()
获取当前系统日期时间(yyyy-MM-dd yyyy-MM-dd hh:mm:ss)
Returns:
{string}
Example:
tlv8.System.Date.sysDateTime()
<static>
Date
strToDate(str)
日期格式字符串转换为日期对象
Parameters:
str
{string}
[required]
日期格式字符串
Returns:
{Date}
Example:
tlv8.System.Date.strToDate("2011-01-21")