|
Re: How to display week number? [message #262771 is a reply to message #262750] |
Wed, 05 December 2007 18:25 |
Eclipse User |
|
|
|
Originally posted by: jasonweathersby.alltel.net
Rob,
Try
importPackage(Packages.java.util);
cl = new GregorianCalendar();
cl.get(Calendar.WEEK_OF_MONTH);
Jason
Rob Scott wrote:
> Anyone got a trick for how to display the week number of the current week?
> Or the week number given a date?
> This seems to be missing from the functions available in the BIRT report
> tool. Also Javascript doesn't seem to have such a function.
>
> Also how can I check if a certain date from a dataset is in the past or
> the future?
>
|
|
|
|
Re: How to display week number? [message #262837 is a reply to message #262829] |
Thu, 06 December 2007 15:01 |
Eclipse User |
|
|
|
Originally posted by: jasonweathersby.alltel.net
Rob,
Add a data element to the header and copy the code in.
Jason
Rob Scott wrote:
> Jason,
>
> Where would I put this code?
> I want to show the current week number in the header of a report template.
>
> Rob
|
|
|
|
Powered by
FUDForum. Page generated in 0.03462 seconds