You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.
When I use PHPClient access inflxudb database server,the time of obtained data isn't in accordance with local time zone.
Because My time zone is East eight area,the default time of the inflxudb database is stored in UTC.
So how can I obtain the time of data that's in accordance with East eight area by PHPclient,or how can i use the function like:tz('Asia/Shanghai') by PHPClient。
Thank you in advance.
This is the code:
`$result = $database->getQueryBuilder()
->select('B06G_B57AC_SDD_PV,E07G_E5ASR_VOTD_PV')
->from('dcs')
->where(["time>'2018-05-30T08:40:00Z'"])
->limit(5)
->getResultSet()
->getPoints();
var_dump($result); `
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When I use PHPClient access inflxudb database server,the time of obtained data isn't in accordance with local time zone.
Because My time zone is East eight area,the default time of the inflxudb database is stored in UTC.
So how can I obtain the time of data that's in accordance with East eight area by PHPclient,or how can i use the function like:tz('Asia/Shanghai') by PHPClient。
Thank you in advance.
This is the code:
`$result = $database->getQueryBuilder()
->select('B06G_B57AC_SDD_PV,E07G_E5ASR_VOTD_PV')
->from('dcs')
->where(["time>'2018-05-30T08:40:00Z'"])
->limit(5)
->getResultSet()
->getPoints();
The text was updated successfully, but these errors were encountered: