Yup, that seems to work, well done!
Staffan
On Sat, Nov 30, 2013 at 12:33 AM, Chip Davis <[email protected]> wrote:
> [Sorry, forgot to include the wrapping code]
>
> Parse Arg yy +3 ddd .
> Say Substr(Date('S',Date('B',19+(yy<=70)yy'0101','S')+ddd-1,'B'),3)
>
> -Chip-
>
> On 11/29/2013 14:53 Mark Miesfeld said:
> > On Fri, Nov 29, 2013 at 11:17 AM, Staffan Tylen
> > <[email protected] <mailto:[email protected]>> wrote:
> >
> > I'm playing around with the date() function and am trying to
> > convert a date in the format yyddd to yymmdd but I can't find a
> > way to handle the yy portion of the date. The "D" option supports
> > the ddd portion but the result shows the current year. How can I
> > make yy be part of the calculation?
> >
> >
> > Hi Staffan,
> >
> > I'm not much help here, dates are too complex for me. If I can figure
> > out today's date, I'm about at my limit.
> >
> > My first thought though is that the DateTime class may be of more help
> > than the date() function.
> >
> > --
> > Mark Miesfeld
> >
> >
> >
> ------------------------------------------------------------------------------
> > Rapidly troubleshoot problems before they affect your business. Most IT
> > organizations don't have a clear picture of how application performance
> > affects their revenue. With AppDynamics, you get 100% visibility into
> your
> > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of
> AppDynamics Pro!
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
> >
> >
> >
> > _______________________________________________
> > Oorexx-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/oorexx-users
> >
>
>
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
> Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
> _______________________________________________
> Oorexx-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/oorexx-users
>
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
Oorexx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-users