How to get local time zone information from caller computer in ColdFusion

GetTimeZoneInfo() - get local time zone information from caller computer

GetTimeZoneInfo.cfm


<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>GetTimeZoneInfo function example: how to get local time zone information from caller computer</title>
</head>

<body>
<h2 style="color:hotpink">GetTimeZoneInfo Function Example</h2>
<cfset LocalTimeZoneInfo=GetTimeZoneInfo()>

<cfdump var="#LocalTimeZoneInfo#" label="Local Time Zone Information[Caller Computer]">
</body>
</html>





More ColdFusion examples