My script reads a text file that contains a datetime. Within the script I have a varible called strFieldData whch stores a datetime value.
Sometimes 99.99.99<2 white spaces>99:99:99 (date time) has been entered which is not valid date and time for the program that recieves this value.
I tried to convert this value using the Now function but its still keeping the same value:
If strFieldData = "99.99.99 99:99:99" then
strFieldData = Now
Still returns 99.99.99 99:99:99
Is there another way i can conert this value to the server date time?