Won't this work using the Standard date() function?

     Say Date('S',Date('B',19+(yy<=70)yy'0101','S')+ddd-1,'B')

-Chip-

On 11/29/2013 14:53 Mark Miesfeld said:
> On Fri, Nov 29, 2013 at 11:17 AM, Staffan Tylen
> <staffan.ty...@gmail.com <mailto:staffan.ty...@gmail.com>> 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
> Oorexx-users@lists.sourceforge.net
> 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
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users

Reply via email to