I'm working on bash script.
I have a var with a string in it. This is the string:
Basically the format is
- The id can be a number from 0 to 999
- The year format is yyyy
- Month format mm
- Day format dd
- Hour format 24h
The string I want to get is something like:
Which is yyyymmddHHMMSS
English is not my native language, so if there's something you can't understand please tell me. Thank you.