后端开发2023年05月06日
PHP字符编码转换:iconv('gbk','utf-8',$message);页面编码header("Content-Type: text/html;charset=GB2312")...
前端开发2023年05月02日
1、json字符串中只有一组string jsonstr = "{'name':'xiaoming','age':'11','lastTime':'2016-07-26','address':'luo...
后端开发2020年05月31日
php将时间戳转换为日期在php中将时间戳转换为日期函数为“date()”,该函数的用法为“date($format,$timestamp)”,其参数$format表示为要转换成的日期格式,参数$timestamp表示为要转换的时间戳,默认值为当前时间戳。date说明date ( string $format [, int $timestamp ] ) : ...