Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
camroncade authored Jul 18, 2016
1 parent e127e55 commit d3cc02c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ The package includes two helper functions that make it easy to deal with display

Each function accepts two required parameters and a third optional parameter dealing with the format of the returned timestamp.

convertFromUTC($timestamp, $timezone, $format);
convertToUTC($timestamp, $timezone, $format);
Timezone::convertFromUTC($timestamp, $timezone, $format);
Timezone::convertToUTC($timestamp, $timezone, $format);

The first parameter accepts a timestamp, the second accepts the name of the timezone that you are converting to/from. The option values associated with the timezones included in the select form builder can be plugged into here as is. Alternatively, you can use any of [PHP's supported timezones](http://php.net/manual/en/timezones.php).

Expand Down

0 comments on commit d3cc02c

Please sign in to comment.