[FX.php List] [Off] Obtaining daylight vs standard time within
FileMaker
Gjermund Gusland Thorsen
ggt667 at gmail.com
Sat Nov 20 04:23:03 MST 2010
Why don’t you just make your own date? I do not understand why you try
to use a date that is already there?
ggt
2010/11/19 Dale Bengston <dbengston at tds.net>:
> Troy,
>
> I think maybe you need to use the rules of DST in your script to determine whether you're -0700 or -0800. The rules for the United States are here:
>
> http://www.nist.gov/pml/div688/dst.cfm
>
> If you are between 2:00am on the 2nd Sunday in March and 2:00am on the first Sunday in November, you are in DST.
>
> Alternately, you could capture the OS time on your server and calculate the number of hours behind Zulu time. This would always return the correct number of hours if your OS is using a Network Time Server to stay in sync with DST.
>
> Hoep this helps,
> Dale
>
> On Nov 19, 2010, at 4:05 AM, Gjermund Gusland Thorsen wrote:
>
>> I am not sure, but AFAIK, that part is not an application task, but an OS task.
>>
>> What is the purpose of knowing this?
>>
>> ggt
>>
>> 2010/11/19 Troy Meyers <tcmeyers at troymeyers.com>:
>>> This isn't a PHP question. If it were I'd already know the answer.
>>>
>>> The email plugin that we use inside of FileMaker was recently "upgraded" and one of the new features is that it no longer automatically supplies the Date: header time. Instead I have to add that item myself. It's easy enough to do, but depending on whether it's Daylight Savings Time or Standard Time, I need to have the time zone atom be either "-0700" or "-0800".
>>>
>>> I don't see a function in FileMaker that returns whether it's PST or PDT, but certainly this is something that the OS (MacOS) is aware of. How do I ask it?
>>>
>>> How might this determined inside of FileMaker? I really do NOT want to use a date-based calculation that will be obsolete when they change their minds again when the shift will occur.
>>>
>>> Ideas? -- Thanks.
>>>
>>> -Troy
>>> _______________________________________________
>>> FX.php_List mailing list
>>> FX.php_List at mail.iviking.org
>>> http://www.iviking.org/mailman/listinfo/fx.php_list
>>>
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
>
More information about the FX.php_List
mailing list