pickslides
Red Sails In The Sunset
- Local time
- Today, 10:33
- Joined
- Apr 29, 2008
- Messages
- 76
I have a date field in minutes, seconds always '00' i.e. 24/04/2015 1:23:00 AM
as short text
and want to adjust this date to UTC time as follows.
before 6/4/2014 2:59 add 10 hours.
between 6/4/2014 3:00 AM and 5/10/2014 1:59 AM add 11 hours.
between 5/10/2014 2:00 AM and 5/04/2015 2:59 AM add 10 hours.
between 5/4/2015 3:00 AM and 4/10/2015 1:59 AM add 11 hours.
after 4/10/2015 2:00 AM add 11 hours.
I have been using +(10/24) or +(11/24) to adjust the date and thinking of creating a separate table with the adjusted date but this will be 1440 minutes a day x 5 yrs = 2.6 M records. Seems a bit extreme.
Anyone have a suggestion..
as short text
and want to adjust this date to UTC time as follows.
before 6/4/2014 2:59 add 10 hours.
between 6/4/2014 3:00 AM and 5/10/2014 1:59 AM add 11 hours.
between 5/10/2014 2:00 AM and 5/04/2015 2:59 AM add 10 hours.
between 5/4/2015 3:00 AM and 4/10/2015 1:59 AM add 11 hours.
after 4/10/2015 2:00 AM add 11 hours.
I have been using +(10/24) or +(11/24) to adjust the date and thinking of creating a separate table with the adjusted date but this will be 1440 minutes a day x 5 yrs = 2.6 M records. Seems a bit extreme.
Anyone have a suggestion..