Skip to content

Commit

Permalink
Update clients/date-to-timestamp-conversion.md
Browse files Browse the repository at this point in the history
Style fix

Co-authored-by: Nick Woolmer <[email protected]>
  • Loading branch information
javier and nwoolmer authored Aug 8, 2024
1 parent dd0f090 commit 826e0e4
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions clients/date-to-timestamp-conversion.md
Original file line number Diff line number Diff line change
Expand Up @@ -371,10 +371,9 @@ Learn more about the [ILP text format](/docs/reference/api/ilp/advanced-settings
Both of the `DateTime` and `DateTimeImmutable` classes store date and time information
QuestDB does not have an official PHP client, but you can send a request composing the ILP messages and passing
an Epoch in nanoseconds for the designated timestamp, or in microseconds for the rest of columns. An alternative
is using the [InfluxDB PHP Client](https://github.com/influxdata/influxdb-client-php), which is compatible with
QuestDB ingestion.
QuestDB does not have an official PHP client, but you can send a POST request comprising the ILP messages. Within this messages, you can pass an epoch timestamp in nanoseconds as the designated timestamp, and pass epoch timestamps in microseconds for other timestamp columns.
Alternatively, you can use the [InfluxDB PHP Client](https://github.com/influxdata/influxdb-client-php), which is compatible with QuestDB.
```php
<?php
Expand Down

0 comments on commit 826e0e4

Please sign in to comment.