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”
質問を投稿する前に、 まず過去の質問と回答を検索 してみましょう!
それでも解決しない場合は、ぜひ新しい質問を投稿してください!