vendredi 29 octobre 2021

How to get next hour's 15th minute of time from given time in PHP [duplicate]

Is there a way of getting the next hour's 15th minutes from given time?

For Example

  1. if input is 2021-08-26 12:00:37 then output should be 2021-08-26 12:15:00
  2. if input is 2021-08-26 12:30:37 then output should be 2021-08-26 13:15:00


via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire