I am having two different format of dates i.e. 20170802 and another is 14-06-2019
in this format. i want to check if dates comes withy the format yyyyMMdd then change its format to dd-MM-yyyy. Please let me know the what should i write in IF condition to check the date format.
Thanks & Regards