Martin Milo

A blog about software development, architecture, and more.

Weekly updates on latest blog posts, thoughts and useful stuff.

Search results

  • PHP Split Date and Time

    In order to split date and time or get one of these from the dateTime instance, we can use method called format(). To get a d...

    php basics
  • PHP Spit String

    In order to split a string in PHP, you can use a built-in function called explode(). This function requires at least two para...

    php basics
  • Get UTC timestamp in PHP

    PHP timestamp can be obtained by using DateTime class and specifying the UTC timezone with an instance of DateTimeZone.This i...

    php basics