Re: string to date KSH
Rafael The Engel wrote:
Hello everyone,
I need your help
I have a string the contains a date "20061024"
I wand to convert it to 24/10/2006
$ date="20061024"
$ tmp="${date%??}"
$ echo "${date#??????}/${tmp#????}/${tmp%??}"
24/10/2006
Regards,
Ed.
.
Relevant Pages
- Re: string to date KSH
... Rafael The Engel wrote: ... I have a string the contains a date "20061024" ... I wand to convert it to 24/10/2006 ... Stephan Grein, ... (comp.unix.shell) - Re: Tetragrammaton redux was: A Question about The Tzimtzum...
... >> You read the Hebrew string every time you pick up a chumash or siddur. ... I consider writing it in English with vowels to be ... I'd probably rather avoid even the form that Rafael ... (soc.culture.jewish.moderated) - Re: Tetragrammaton redux was: A Question about The Tzimtzum...
... > Lisa wrote: ... >>> You read the Hebrew string every time you pick up a chumash or siddur. ... I'd probably rather avoid even the form that Rafael ... (soc.culture.jewish.moderated) - Re: Find&Replace text in Comments
... "Rafael Guerreiro Osorio" wrote: ... > OVERWRITE of the Text method, default is overwrite, it will substitute ... > I used the Sub Sample below to find and change the text in a comment using ... >>> Function SubsTxt(strComment, strOld, strNew As String) ... (microsoft.public.excel.programming) - Re: string to date KSH
... Stephan Grein wrote: ... I have a string the contains a date "20061024" ... I wand to convert it to 24/10/2006 ... Michael Tosch @ hp: com ... (comp.unix.shell) |
|