keep updating...
the script and document of this assignment can be downloaded from 点击打开链接
And here are notes about problems in this assignment:
Q2.
what format of data will it return if we compute two timestamp data?
so we know that, timestamp is shown as YYYY(year)MM(month)DD(day)HH(hour)MM(month)SS(second).
so if we compute (endTime - startTime) directly, the result will be (endTime(minute) - startTime(minute)) * 100 + (endTime(second) - endTime(second)).
so we should call time_to_sec to change this type of data to the type we want.
Q6.
Here, i'd like to discuss the usage of function.
this is the format of a simple function: