///新加坡现在时间() [英] ///Singapore Time now()
本文介绍了///新加坡现在时间()的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
1。如果我需要加入新加坡时间的数据库时间(),我该怎么做?
现在
(+)+ ______
2.如果我现在需要输出新加坡的时间,怎么样?
< cfoutput> #now() + __________#< / cfoutput>
1. If i need to add into the database time now() of singapore time, how do i do it??
now() + ______
2. If I need to output the time now of singapore , how??
<cfoutput>#now() + __________#</cfoutput>
推荐答案
这适用于世界各地吗?您只想输出新加坡时间,而不是当地时间吗?
Is this for anywhere throughout the world? You only want to output Singapore time, not the local time?
仅适用于新加坡时间
因为我想现在设置()新加坡时间添加到数据库
< cfset form.aaDate =''#now()#''>
其中aaDate总是新加坡时间。
谢谢
Yes for sigapore time only
because I want to set now() Singapore time to add to the database
<cfset form.aaDate=''#now()#''>
where aaDate is always the singapore time.
thanks
尝试使用DateConvert()函数。如果本地计算机是新加坡时间,那应该没问题。如果没有,你将不得不转换它。 TimeZoneInfo()也可以提供帮助。
Try the DateConvert() function. If the local computer is Singapore time, then that should be OK. If not, you''ll have to convert it. TimeZoneInfo() may help too.
这篇关于///新加坡现在时间()的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文