Simple Python code
$10-50 AUD
Paid on delivery
Between the second Sunday in March and the first Sunday in November,
Pacific Time is UTC -07:00
At all other times, Pacific Time is UTC -08:00.
You can assume the following functions are available:
A. dayofweek(date | datetime) = Indexed day of the week. Monday = 1,
Sunday = 7
B. day(date | datetime) = day of the month
C. month(date | datetime) = numeric month
Given a date, write a function that can be used to calculate the UTC time
that is the equivalent of midnight Pacific Time.
Example inputs and outputs:
A. 2016-04-04 -> 2016-04-04 07:00 UTC
B. 2016-11-16 -> 2016-11-16 08:00 UTC
The code needs detailed explanation
Project ID: #18545597
About the project
7 freelancers are bidding on average $33 for this job
Hello? How are you? I have good experiences in "Simple Python code" as you can see my profile for these (Python). I have been working for 7 yrs in this scope. While we contract and work in our jobs, I will get paid More
hi there, i've read your requirements. Let me do the following for you: Given a date, write a function that can be used to calculate the UTC time that is the equivalent of midnight Pacific Time. Example inputs an More
Dear Sir, I have gone through project description and interested taking it up. Posted bid amount is indicative and a more accurate I can give once more details are shared. Looking forward to hear from you. Thanks
hi respected, how much time will you allow me for this task please let me know, Looking forward to your text. Thank you