How to Convert Date and Time from One Time Zone to Another in PHP

It’s really simple to convert a DateTime from one time zone to another in PHP. Just create a DateTime object using date & time to be converted as the first parameter and the original time zone as the second parameter. Then change the time zone to the desired one using the setTimezone method. That’s all!

Continue reading “How to Convert Date and Time from One Time Zone to Another in PHP”

How to Build a Jigsaw Puzzle Android Game

The second tutorial will be about making a simple puzzle Android game. The idea is simple: you choose one image from a list, or you take a photo using the camera, which is then divided into several puzzle pieces, and you have to put it back. To check the app before you build it, you can download it from the Google Play Store: Puzzle – use your own images or choose from ours.

Continue reading “How to Build a Jigsaw Puzzle Android Game”

Build Your First Android App: A Time Zone Converter

In this Android tutorial we will build a time zone converter app. This will help users find out the time in different places around the globe by selecting their time zone and the time zone to which they want to convert to. Everything will be configurable by the user: the source time zone, the destination time zone, the date and the time of the conversion. The final app will look like this:

Continue reading “Build Your First Android App: A Time Zone Converter”