Date format - week number

Chris Blair 05 Nov, 2010
Hi,
I am trying to find a way of including the week number using the W formatting character. I can successfully display the date in various guises which is great, but the one I really want (W) eludes me. Can anyone shed a light on how I might go about making this happen.

Many thanks in advance.

Regards

Chris
GreyHead 05 Nov, 2010
Hi Chris,

From the Aeron Calendar docs

Calendar has fancy formatting using the same notation as PHP's date function: d, D, j, l, N, w, S, F, m, M, n, Y, y.

so I guess L isn't supported.

You could work it out with JavaScript in the page or with PHP in the OnSubmit Before box.

Bob
Chris Blair 05 Nov, 2010
Hi Bob,
Thanks again for the speedy response. I will look into both those options.

Regards

Chris
This topic is locked and no more replies can be posted.