Skip to content
pontikis.net
  • Blog
  • Labs
  • Write For Us
  • About
Search for:
Menu Close

timezone

  1. Home>
  2. Blog>
  3. timezone
How to Convert Date or Time to any Timezone and Dateformat with PHP
Credits

How to Convert Date or Time to any Timezone and Dateformat with PHP

  • Post author:Christos Pontikis
  • Post published:November 4, 2013
  • Post category:Web Development
  • Reading time:2 mins read

Date manipulation is a common and extremely useful development task. It was never easy with PHP, until PHP5 and DateTime class. There are many cases you need to convert dates.…

Continue Reading How to Convert Date or Time to any Timezone and Dateformat with PHP
Check if a String represents a Valid Timezone with PHP
Credits

Check if a String represents a Valid Timezone with PHP

  • Post author:Christos Pontikis
  • Post published:November 4, 2013
  • Post category:Web Development
  • Reading time:1 mins read

Sometimes you want to check if a string represents a valid timezone. Using PHP versions greater than 5.2, timezone_identifiers_list() could be a solution. Take a look in the following function:…

Continue Reading Check if a String represents a Valid Timezone with PHP
Easily Create a Timezone List with PHP
Credits

Easily Create a Timezone List with PHP

  • Post author:Christos Pontikis
  • Post published:September 27, 2013
  • Post category:Web Development
  • Reading time:1 mins read

Sometimes, you want to create a list of available time zones to prompt your user to select his/her time zone. Fortunately, PHP offers timezone_identifiers_list (PHP 5 >= 5.2.0). You can…

Continue Reading Easily Create a Timezone List with PHP
How to Get Current Datetime (NOW) with PHP
Credits

How to Get Current Datetime (NOW) with PHP

  • Post author:Christos Pontikis
  • Post published:August 30, 2013
  • Post category:Web Development
  • Reading time:2 mins read

To get current datetime (now) with PHP you can use date with any PHP version, or better datetime class with PHP >= 5.2 Various date format expressions are available here.…

Continue Reading How to Get Current Datetime (NOW) with PHP
Handling Dates with PHP5 in Any Database
Credits

Handling Dates with PHP5 in Any Database

  • Post author:Christos Pontikis
  • Post published:February 24, 2013
  • Post category:Web Development
  • Reading time:9 mins read

The problem Date handling with PHP is a complex task, especially when application users are located in different timezones (all over the world) and they are using different date format…

Continue Reading Handling Dates with PHP5 in Any Database

Categories

Archives

NewsLetter

Click here to subscribe to our free email newsletter.
Unsubscribe anytime with a click.

LIKE OUR PAGE!

  • Opens in a new tab
  • Opens in a new tab
  • Opens in a new tab
  • Opens in a new tab
  • Opens in a new tab
  • Opens in a new tab
  • Opens in a new tab
  • Contact
  • Privacy
  • Terms
  • Credits
© Christos Pontikis 2013 - 2021
Close Menu