0

If anyone could helpme

Im writting a code that by entering an Integer, if the integer was Seconds , show the date of that second ,but if the integer was TIMESTAMP show the diffrence between the present date and the previous condition date. In the one hand, the diffence between the SECONDS date which was entered and the present date? Plzzz help me im stuck at this! https://code.sololearn.com/w0kHRj0CS0O6/?ref=app

30th Sep 2020, 7:21 AM
the parsa
the parsa - avatar
6 Respuestas
+ 2
You are calling a function "convert seconds" that isnt made
30th Sep 2020, 7:31 AM
Steve Sajeev
Steve Sajeev - avatar
+ 1
the parsa Please be patient for answers, refrain from reposting the same question 👍 https://www.sololearn.com/Discuss/2522854/?ref=app
30th Sep 2020, 7:27 AM
Ipang
+ 1
There is a space between convert_seconds and its parameters
30th Sep 2020, 7:56 AM
Steve Sajeev
Steve Sajeev - avatar
0
Of course i made , take a look at the first function = convert_seconds
30th Sep 2020, 7:43 AM
the parsa
the parsa - avatar
0
It does not matter, either with or without space the code occures error
30th Sep 2020, 8:12 AM
the parsa
the parsa - avatar
0
Whats the main algorithm for the second condition in this question , thats Y im stuck
30th Sep 2020, 8:13 AM
the parsa
the parsa - avatar