Thank you for your response. This worked well when the date is like '8/17/2012', however I also have dates like '8/7/2012' or '10/7/2012'. I.e. each of the day or month can be one or two digits in my input. Is there a more general way to address this? If not how can I use this method to add '0' to the month?
Many thanks again for the hlep.
↧