I'm using PHP codeigniter so here I want to get current national time.
I tried NOW()
in my sql code but when server change the location the server time changes. if I give date()
it will take our system current time I think. in date()
case if some user have some wrong date time then it will store that wrong time. So how can I solve this problem.
如何在php中设置印度标准时间?
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-
5条回答
相关推荐 更多相似问题
点击登录
提问题
悬赏问题
- ¥15 SQL 表中 考勤记录的组合查询
- ¥15 Power pivot无法刷新数据
- ¥15 刚入职被要求写这种文档,应该如何下手
- ¥15 最优经济尺寸设计问题
- ¥15 从多元正态分布中生成3维样本
- ¥15 GEO下载数据的处理报错 :函数‘Meta’标签‘"data.frame"’找不到继承方法,如何解决?
- ¥15 android object box 一个实体多个表怎么写
- ¥15 temux 启用docker 服务失败
- ¥15 Flask 使用celery发送邮件出现‘目标计算机积极拒绝‘
- ¥15 超时跳出方法代码的返回值问题