App 2 - Logs GMT/BST log date confusion
Posted: Tue Apr 02, 2024 12:12 pm
Hi,
The script I have written to analyse the downloaded logs bombed out, whereas it had not before (I download the logs a month at a time)
After investigation I found that the DATE TIME in the logs changes as follws:
2024-03-31 00:55:34 GMT+0000
2024-03-31 02:00:34 BST+0100
My understanding is this...
Now we are one hour ahead of GMT
BST indicates that we are operating in British Summer Time… this year we pt the clocks forward 1 hour, so BST indicates we are one hour ahead
So to me BST+0100 indicates we are two hours ahead, as BST iss one hour, and +0100 means we are one hour ahead
Have you come across this before…
I need to know how I take account of it
Effectively my calculation is trying to work out the time interval; between the two times
Larger time – smaller time = Interval
2024-03-31 02:00:34 BST+0100 - 2024-03-31 00:55:34 GMT+0000 = -55mins to me which is why the script is going wrong
If it were
2024-03-31 02:00:34 GMT+0100 - 2024-03-31 00:55:34 GMT+0000 = +5mins which would be right
Or of it were
2024-03-31 02:00:34 BST+0000 - 2024-03-31 00:55:34 GMT+0000 = +5mins which would be right
So I think the Fox app is incorrect, it should be showing :
Either BST+0000, with the time it is currently showing
or
GMT+0000 with the current hour being shown -1
Effectively FOX have doubled the Britich Summer Time change
Everyone agree?
Or have I got it wrong somehow?
The script I have written to analyse the downloaded logs bombed out, whereas it had not before (I download the logs a month at a time)
After investigation I found that the DATE TIME in the logs changes as follws:
2024-03-31 00:55:34 GMT+0000
2024-03-31 02:00:34 BST+0100
My understanding is this...
Now we are one hour ahead of GMT
BST indicates that we are operating in British Summer Time… this year we pt the clocks forward 1 hour, so BST indicates we are one hour ahead
So to me BST+0100 indicates we are two hours ahead, as BST iss one hour, and +0100 means we are one hour ahead
Have you come across this before…
I need to know how I take account of it
Effectively my calculation is trying to work out the time interval; between the two times
Larger time – smaller time = Interval
2024-03-31 02:00:34 BST+0100 - 2024-03-31 00:55:34 GMT+0000 = -55mins to me which is why the script is going wrong
If it were
2024-03-31 02:00:34 GMT+0100 - 2024-03-31 00:55:34 GMT+0000 = +5mins which would be right
Or of it were
2024-03-31 02:00:34 BST+0000 - 2024-03-31 00:55:34 GMT+0000 = +5mins which would be right
So I think the Fox app is incorrect, it should be showing :
Either BST+0000, with the time it is currently showing
or
GMT+0000 with the current hour being shown -1
Effectively FOX have doubled the Britich Summer Time change
Everyone agree?
Or have I got it wrong somehow?