l4ex4: Datetime Reformat

l4ex4: Datetime Reformat

You cannot submit for this problem because the homework's deadline is due.

Description

Print a datetime in a correct format.

Format

Files

You should submit a tar file containing a c source file ex4.c

Input

A time_t returned by time(NULL)

Output

A Datetime string, with format YYYY-MM-DD HH:MM:SS

Sample 1

Input

1529351300

Output

2018-06-19 03:48:20

Limitation

1s, 32MiB for each test case.

Lab 4

Not Claimed
Status
Finished
Problems
2
Open Since
2018-06-19 00:00
DDL
2018-06-22 23:59
Extension
240.0 hour(s)