N
Ninja67
I need to modify a script in such a way that it checks the current time
(according to the server) to determine if the current time falls within
a particular time span such as midnight to 4:00 am.
For example:
if (current_time > earliest_time_request_accepted && current_time <
latest_time_request_accepted) {
...process request...
} else {
print "please try your request at a different time.";
}
I struggle with date-time values in perl.
(according to the server) to determine if the current time falls within
a particular time span such as midnight to 4:00 am.
For example:
if (current_time > earliest_time_request_accepted && current_time <
latest_time_request_accepted) {
...process request...
} else {
print "please try your request at a different time.";
}
I struggle with date-time values in perl.