Here's my sample code (PHP and MySQL):

$sql = "select Date, UNIX_TIMESTAMP(Date) as 'unixdate',........
echo "data.setValue(" . $i . ", 0, new Date(" . date ("Y , m , d",
mysql_result ( $result, $i, 'unixdate')) . "));\n";



On Apr 3, 6:30 am, shaikha <[email protected]> wrote:
> i tried to display the script annotated time line chart data from my
> database data mysql
>
> the date format in annotated time line chart  as yyyy,mm,dd
> and in mysql  data i have 2 date one is formated as long  Date and the
> other is formated as String Date
>
> any one has idea how to change the date format and how to insert the
> data to annotated time line chart

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to