代码语言
.
CSharp
.
JS
Java
Asp.Net
C
MSSQL
PHP
Css
PLSQL
Python
Shell
EBS
ASP
Perl
ObjC
VB.Net
VBS
MYSQL
GO
Delphi
AS
DB2
Domino
Rails
ActionScript
Scala
代码分类
文件
系统
字符串
数据库
网络相关
图形/GUI
多媒体
算法
游戏
Jquery
Extjs
Android
HTML5
菜单
网页交互
WinForm
控件
企业应用
安全与加密
脚本/批处理
开放平台
其它
【
】
格式化一个UNIX时间为文本
作者:
步山
/ 发布于
2014/11/10
/
568
string date (string $Format); string date (string $Format, int $Time); <?php echo "When this page was loaded,\n"; echo 'It was then ', date ('r'), "\n"; echo 'The currend date was ', date ('F j, Y'), "\n"; echo 'The currend date was ', date ('M j, Y'), "\n"; echo 'The currend date was ', date ('m/d/y'), "\n"; echo 'The currend date was the ', date ('jS \o\f M, Y'), "\n"; echo 'The currend time was ', date ('g:i:s A T'), "\n"; echo 'The currend time was ', date ('H:i:s O'), "\n"; echo date ('Y'); date ('L')?(print ' is'):(print ' is not'); echo " a leap year\n"; echo time ('U'), " seconds had elapsed since January 1, 1970.\n"; ?> It was then Sat, 26 Dec 2009 07:09:51 +0000 The currend date was December 26, 2009 The currend date was Dec 26, 2009 The currend date was 12/26/09 The currend date was the 26th of Dec, 2009 The currend time was 7:09:51 AM GMT The currend time was 07:09:51 +0000 2009 is not a leap year 1261811391 seconds had elapsed since January 1, 1970.
试试其它关键字
UNIX时间
同语言下
.
StringHelper.cs 对html标签过滤
.
不调用Dbhelper数据库的后台代码
.
后台弹出提示框,防止页面刷新。
.
倒计时间表
.
JAVA集成SVN,查看应用更新日志
.
输入一串无序数,返回出现次数最多的数字,并返回个数
.
table中连续字符换行
.
WPF 获取屏幕分辨率
.
简单的实现用户注册时,向其油箱发送激活码邮件,并进
.
JavaMail发送邮件
可能有用的
.
C#实现的html内容截取
.
List 切割成几份 工具类
.
SQL查询 多列合并成一行用逗号隔开
.
一行一行读取txt的内容
.
C#动态修改文件夹名称(FSO实现,不移动文件)
.
c# 移动文件或文件夹
.
c#图片添加水印
.
Java PDF转换成图片并输出给前台展示
.
网站后台修改图片尺寸代码
.
处理大图片在缩略图时的展示
步山
贡献的其它代码
(
75
)
.
表.视图.函数.存储过程.触发器.主键.外键.约束.规则:
.
索引
.
SqlServer2005数据库字典表结构
.
上传并给图片加水印
.
从一个目录下提取所有的源文件复制到另一个目录下
.
为按钮添加对话框
.
监听浏览器窗口关闭
.
平滑滚动返回顶部
.
SESSION管理类库
.
麻将胡牌听版判断
Copyright © 2004 - 2024 dezai.cn. All Rights Reserved
站长博客
粤ICP备13059550号-3