Skip to content

Commit 25879c1

Browse files
committed
Update MySQLDataReader.php
1 parent 5f11c07 commit 25879c1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

berry/mysql/MySQLDataReader.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,9 @@ public function getValue(int $index)
8585
}
8686

8787
/**
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.
88+
* DATETIME is always stored and returned as UTC, regardless of what your system's timezone is.
89+
* This method reads a MySQL DATETIME value into a PHP DateTime Object and converts the TimeZone
90+
* to the given TimeZone.
9091
* @param int $index
9192
* @param DateTimeZone $timeZone
9293
* @return DateTime

0 commit comments

Comments
 (0)