Hi Rob,

>From what you describe, I would guess you are specifying the month as 1-12,
but you need to change that to use 0-11.  Since you are getting the wrong
month, that would also explain why you are getting the wrong day of the
week.  The day of the month is 1-based, so it is surprising to people that
the month is 0-based.  This is, confusingly, the standard across most
programming languages.

Hope that helps.


On Sat, Aug 10, 2013 at 1:32 PM, Rob Eaglesfield <[email protected]>wrote:

> I have some environmental monitors charted on an annotated timeline. Each
> data has the datetime as YYYY MM DD HH mm ss.
> The chart adds the name of the day of the week, but the wrong one. i.e.
> 9th August 2013 is Friday but the timeline says Mon Sep 9,  Today is 10th
> August 2013, a Saturday, but the timeline says its Tues Sep 10. At first i
> thought it may be a hiccup between British and American way of writing the
> date, but it's got the date and the month right.
> How do I offset the day so it shows the right day?  Or will I have to send
> the day of the week along with the other data?
> Cheers in anticipation.
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Visualization API" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to
> [email protected].
> Visit this group at
> http://groups.google.com/group/google-visualization-api.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>  -
978-394-1058
[email protected] <[email protected]>   562D 5CC, Cambridge MA
[email protected] <[email protected]> 9 Juniper Ridge
Road, Acton MA

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to