I was looking to see if there was a better formula for calculating the year's quarter than what I had handy and found one that includes the time zone via AppleScriptObjC.
I thought I'd share.
-------------------------------------------------------------------------------------------
# Auth: Christopher Stone { Heavy Lifting by vadian on StackOverflow }
# dCre: 2017/01/13 22:45
# dMod: 2017/01/13 23:12
# Appl: Miscellaneous
# Task: Calculate Year Quarter from Current Date with Time Zone.
# Libs: None
# Osax: None
# Tags: @Applescript, @Script, @Calculate, @Year, @Quarter, @Current_Date, @Time_Zone, @Zone
-------------------------------------------------------------------------------------------
# date - AppleScript : get the current fiscal quarter for Ireland - Stack Overflow
-------------------------------------------------------------------------------------------
# List of valid time zone names:
-------------------------------------------------------------------------------------------
use framework "Foundation"
-------------------------------------------------------------------------------------------
set currentCalendar to current application's NSCalendar's currentCalendar()
set theTimeZone to current application's NSTimeZone's timeZoneWithName:"US/Central"
set currentCalendar's timeZone to theTimeZone
set currentMonth to (currentCalendar's component:(current application's NSCalendarUnitMonth) fromDate:(current application's NSDate's |date|)) as integer
set currentQuarter to (((currentMonth - 1) div 3 + 1) as text) & "Q"
-------------------------------------------------------------------------------------------
(*
Some commonly used time zone names:
America/Chicago
Asia/Tokyo
Australia/Perth
Australia/Sydney
Etc/Greenwich
Etc/Universal
Etc/UTC
Etc/Zulu
Europe/Berlin
Europe/Dublin
Europe/London
US/Alaska
US/Aleutian
US/Arizona
US/Central
US/East-Indiana
US/Eastern
US/Hawaii
US/Indiana-Starke
US/Michigan
US/Mountain
US/Pacific
US/Pacific-New
US/Samoa
Zulu
*)