Skip to content

It's a learning project. It's not recommended to use in production.

License

Notifications You must be signed in to change notification settings

Chabi-Browny/DueDate_in_PHP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DueDate_in_PHP

It's just a learning project. It's not recommended to use in production.

Due Date Calculator example in an issue tracking system.

  • Input: Takes the submit date/time and turnaround time.
  • Output: Returns the date/time when the issue is resolved.

Rules

  • Working hours are from 9AM to 5PM on every working day, Monday to Friday.
  • Holidays should be ignored (e.g. A holiday on a Thursday is considered as a working day. A working Saturday counts as a non-working day.).
  • The turnaround time is defined in working hours (e.g. 2 days equal 16 hours).
    • If a problem was reported at 2:12PM on Tuesday and the turnaround time is 16 hours, then it is due by 2:12PM on Thursday.
  • A problem can only be reported during working hours. (e.g. All submit date values are set between 9AM to 5PM.)

About

It's a learning project. It's not recommended to use in production.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages