您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

如何判断时间是否开始

2024/6/26 5:58:46发布31次查看
strtotime:将英文文本日期时间解析为 unix 时间戳
<?php if(time()<strtotime(configure::read("shuang_start"))):?> alert('活动尚未开始~');return; <?php endif;?> <?php if(time()>strtotime(configure::read("shuang_end"))):?> alert('活动已经结束~');return; <?php endif;?>
以上就是如何判断时间是否开始 的详细内容。
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product