Hi,

I have a form, the user will key in the time(e.g: 3:25pm), and the minute they want to add(e.g: 30). So, at the end, i want to show the new time after add in the 30 min to '3:25pm', how can i do this?

Thanks
Louis

    see strtotime();

    example: echo strtotime("+ 30 minutes");
    add 30 minutes to current time

      Write a Reply...