Convert into Date format

  • Hi Anyone please explain me how to convert into Date formate? We are getting feed from external source and we need to store into our database. The feed may be any format like below: but we need to store into date formate.

    eg.,

    input Explonation

    01:30 1 hours and 30 minutes

    1:30 1 hours and 30 minutes

    0000 0 hours and 0 minutes

    120 1 hours 20 minutes

    10 0 hours 10 minutes

    1 0 hours 1 minutes

    Thanks in advance:hehe:

    [font="Comic Sans MS"]Sara[/font]

    A ship in the harbour is safe . . . but that's not what ships were made for. 😀

  • Why do you need to convert to a date? Do you you mean that the 01:30 should be converted to the current date at 1:30 am? Or do you want to add 1 hour and 30 minutes to the current date and time?

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply