首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > PHP > 在ActionScript 3的PHP()函数的实现

在ActionScript 3的PHP()函数的实现

  • 资源大小:20.86 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: php actionscript 函数 实现

资 源 简 介

An implementation of the PHP date() Function in ActionScript3 Short Instruction: Use instance of PhpDate Class var phpDate:PhpDate = new PhpDate();//or var phpDate:PhpDate = new PhpDate( 1211528051 );//or var phpDate:PhpDate = new PhpDate( new Date() );trace( phpDate.format( "H:i" ) ); In this variant you can give over the constructor a string parameter, containing an unix-timestamp. As default it will use the current date-time. Use the static method This method always use the current time given by the AS3-Date Object. PhpDate.format( "r" );PhpDate.format( "r", 1211528051 );PhpDate.format( "r", new Date() );

文 件 列 表

de
web_programmer
VIP VIP
0.174751s