時間の取得〜action script
【概要】
action scriptで時間を取得する。
【action script】
now_date = new Date();//新規Dateオブジェクトを作成
hour = now_date.getHours();//時間を取得
minute = now_date.getMinutes();//分を取得
second = now_date.getSeconds();//秒を取得
millisecond = now_date.getMilliseconds();//ミリ秒を取得
now_date = new Date();//新規Dateオブジェクトを作成
hour = now_date.getHours();//時間を取得
minute = now_date.getMinutes();//分を取得
second = now_date.getSeconds();//秒を取得
millisecond = now_date.getMilliseconds();//ミリ秒を取得
│コメント(0) | action script|

