Simple Python code

Completed Posted 5 years ago Paid on delivery
Completed 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

Python

Project ID: #18545597

About the project

7 proposals Remote project Active 5 years ago

Awarded to:

ianoc

Hi there! I was invited bid on your project by the project recruiter Michelle and I would love to get this job done for you. I have over 15 years of experience in programming including extensive experience in Python More

$40 AUD in 1 day
(6 Reviews)
3.7

7 freelancers are bidding on average $33 for this job

ciseli

Hi, i am an experienced python developer and also work with UTC time for GNSS and GPS applications. I can complete this project for you no problem. So i assume the functions A, B and C do not actually have to be cod More

$38 AUD in 5 days
(6 Reviews)
3.7
lightingdavid

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

$55 AUD in 3 days
(7 Reviews)
3.8
makhmudnasirov

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

$30 AUD in 1 day
(1 Review)
1.3
magadhmindslx

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

$35 AUD in 10 days
(2 Reviews)
0.8
Workdone365

hi respected, how much time will you allow me for this task please let me know, Looking forward to your text. Thank you

$25 AUD in 1 day
(0 Reviews)
0.0