Search for setTimezone

  1. Search 7.x for setTimezone
  2. Search 9.5.x for setTimezone
  3. Search 8.9.x for setTimezone
  4. Search 11.x for setTimezone
  5. Other projects
Title Object type File name Summary
DateSqlInterface::setTimezoneOffset function core/modules/views/src/Plugin/views/query/DateSqlInterface.php Set the database to the given timezone.
DateTimeFormatterBase::setTimeZone function core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeFormatterBase.php Sets the proper time zone on a DrupalDateTime object for the current user.
DateTimeIso8601NormalizerTestDrupalDateTime::setTimezone function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php
DateTimeNormalizerTestDrupalDateTime::setTimezone function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php
MysqlDateSql::setTimezoneOffset function core/modules/views/src/Plugin/views/query/MysqlDateSql.php Set the database to the given timezone.
MysqlDateSqlTest::testSetTimezoneOffset function core/modules/views/tests/src/Unit/Plugin/views/query/MysqlDateSqlTest.php Tests setting the database offset.
PostgresqlDateSql::setTimezoneOffset function core/modules/views/src/Plugin/views/query/PostgresqlDateSql.php Set the database to the given timezone.
PostgresqlDateSqlTest::testSetTimezoneOffset function core/modules/views/tests/src/Unit/Plugin/views/query/PostgresqlDateSqlTest.php Tests setting the database offset.
SqliteDateSql::setTimezoneOffset function core/modules/views/src/Plugin/views/query/SqliteDateSql.php Set the database to the given timezone.
SqliteDateSqlTest::testSetTimezoneOffset function core/modules/views/tests/src/Unit/Plugin/views/query/SqliteDateSqlTest.php Tests setting the database offset.
TimestampNormalizerTestDrupalDateTime::setTimezone function core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.