05-08-19 03:30 PM
is it possible to calculate text dates? Or to remove just the rest of my text?
I need to calculate days of leave. I have two data items and I must substract one from another. For example 11/3/2017 12:00:00 AM - 3/31/2017 12:00:00 AM. How can I do this? So far I've tried Replace function. I wanted to use Mid, Trim and Left but the characters in my date items are going to change. so sometimes I will have 9 characters (11/3/2017) and sometimes 8 (1/3/2017).
Which function could I use ? this format is month/day/year and mine is day/month/year
--------------------------------------------------12-08-19 09:59 PM