We Recommend

Textpattern Solutions: PHP-Based Content Management Made Easy Textpattern Solutions: PHP-Based Content Management Made Easy
Textpattern is a powerful, PHP-based content management system that allows you to build pretty much any kind of data-driven website quickly and easily. It is very popular among designers and developers alike, and has an active community of users.


Posted By

daisuke103 on 02/11/08


Tagged

month year date textmate gmt as2


Versions (?)


AS2 Dateインスタンスを作成してデータ内容を出力


Published in: Other 


  1. // Dateクラスを使う
  2. var my_date:Date = new Date(); // [*1]
  3. trace(my_date.getFullYear()); // 出力: 2005
  4. trace(my_date.getMonth()); // 出力: 10[*2]
  5. trace(my_date.getDate()); // 出力: 30
  6. trace(my_date);// 出力: Wed Nov 30 20:00:00 GMT+0900 2005

Report this snippet 

You need to login to post a comment.