Let's say I have 2:12 PM
as my time from an input, and I want to convert it to a timestamp combined with the current date.
I can get the current timestamp using Date.now()
but my problem is I want the time to be based on the input.
If moment can be used, then better. Any help would be much appreciated.