StrToTime

2019/07/17 19:00
94

datetime StrToTime(string value)

"yyyy.mm.dd hh:mi"形式の文字列をdatetime型に変換する (1970年1月1日からの経過秒)

parameters:
value - "yyyy.mm.dd hh:mi"のような日付形式の文字列
Sample:
datetime var1;
var1=StrToTime(“2003.8.12 17:35”);
var1=StrToTime(“17:35”); // returns the current date with the given time
var1=StrToTime(“2003.8.12”); // returns the date with the midnight time of “00:00”

コメント