日付の取得

strDate = Now()
strDate = year(now()) & Right(00 & month(now()), 2) & Right(00 & day(now()), 2)
strDate = year(now()) & Right(00 & month(now()), 2) & Right(00 & day(now()), 2) & Right(00 & Hour(now()), 2) & Right(00 & Minute(now()), 2)
yDate = year(now())
moDate = Right(00 & Month(now()), 2)
daDate = Right(00 & Day(now()), 2)
hoDate = Right(00 & Hour(now()), 2)
miDate = Right(00 & Minute(now()), 2)
 
if miDate = 00 then
  hoDate = Right(00 & Hour(now()), 2) -1
  miDate = "59"
else
  miDate = Right(00 & Minute(now()), 2) -1
end if

strDate = yDate & moDate & daDate & hoDate & miDate

トップ   編集 凍結 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2025-03-16 (日) 23:19:13