Hi ... extremely new to Unix scripting ... I have to get a date field from mm/dd/yyyy to yyyy/mm/dd format ... I have a variable that I want parsed. I don't seem to be doing it right?? Thanks.
Ok...this is really bumming me out because it seems like it should be simple, but for some reason, I just can't get it...I've also googled and searched these forums, and haven't found exactly what I'm looking for...
I have a date in mm/dd/yyyy format in a variable...I need to extract the abbreviated name of the day of week from that variable...so I start with this:
I want to run a script that will search backwards through a text file until it finds a certain string, something like "Date/Time/Eng" and select a string which happens to be a date and save that as a variable.
The line will always be in the following exact format:
This is something I already encountered in TB2 and solved at some time but I can't remember what the solution was... Messages are listed in the US date format MM/DD/YYYY instead of DD/MM/YYYY. My location and default language are set correctly to EN_AU. I've done some googling today but none of the solutions put forward seem to work.