As far as I know, there is no 'reverse' of the date command. However you could write a simple function to perform this, based on converting the month 'number' back to its text. There are many ways of doing this. Here is the broad outline of one way to do it:
Set up a simple array called "monthtext" so that item 1 = "Jan", item 2 = "Feb", item 3 = "Mar" etc. Pass your datestring to the function, cut out characters 5 & 6, extract the text from "monthtext" and format & print the string as required.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.