We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f11c07 commit 25879c1Copy full SHA for 25879c1
berry/mysql/MySQLDataReader.php
@@ -85,8 +85,9 @@ public function getValue(int $index)
85
}
86
87
/**
88
- * Returns a read MySQL datetime value into a PHP DateTime Object.
89
- * The returned DateTime object's Time-Zone will be convert to the given TimeZone.
+ * DATETIME is always stored and returned as UTC, regardless of what your system's timezone is.
+ * This method reads a MySQL DATETIME value into a PHP DateTime Object and converts the TimeZone
90
+ * to the given TimeZone.
91
* @param int $index
92
* @param DateTimeZone $timeZone
93
* @return DateTime
0 commit comments