I have the following date/time string format: 05-07-2019 at 09:20am.
How do I extract the date to assign to a variable and also how do I extract the time component too please?
I then would like to use an IF statement to compare the extracted date to Todays date. I’m guessing it will need to be converted to date format in the process too.
Thanks for the help. I’ve added an additional question to this post also. Do you know how I can then convert the out_date to a date format variable? I also need to convert the new date format variable to todays date using an IF statement.