Re: date conversions?
On 09/07/2018 05:10 PM, Vadim Belman wrote: Anyway, often googling with 'perl6 ' might provide one with even more information than expected! The only pain-in-the-*** I find with Perl 6 is that Googling it gives you hordes of Perl 5 hits. I am just going to do this: my %Month = ( "Jan"=>"01", "Feb"=>"02", "Mar"=>"03", "Apr"=>"04", "May"=>"05", "Jun"=>"06", "Jul"=>"07", "Aug"=>"08", "Sep"=>"09", "Oct"=>"10", "Nov"=>"11", "Dec"=>"12" ); Which will give me a chance to play with my favorite kind of array. :-) Thank you for the tips! -T
Re: date conversions?
I was once looking for strftime and stumbled over https://gist.github.com/salortiz/051c7a81400522e30a7cf12377c02f70 and https://github.com/supernovus/perl6-datetime-format My choice was in favor of DateTime::Format though. Anyway, often googling with 'perl6 ' might provide one with even more information than expected! > 7 вер. 2018 р. о 18:36 ToddAndMargo написав(ла): > > Hi All, > > I want to convert "2018 Jun 7" into 2018.06.07". > I know I can do this myself, but is there a utility > already written for this? > > https://docs.perl6.org/routine/Date > does not seem to enlighten me. > > Many thanks, > -T > > > -- > ~~ > Computers are like air conditioners. > They malfunction when you open windows > ~~ > Best regards, Vadim Belman
date conversions?
Hi All, I want to convert "2018 Jun 7" into 2018.06.07". I know I can do this myself, but is there a utility already written for this? https://docs.perl6.org/routine/Date does not seem to enlighten me. Many thanks, -T -- ~~ Computers are like air conditioners. They malfunction when you open windows ~~