Fixes typo in method call
Updates example
Fixes call to String's substring() method
Merge pull request #4 from emilh91/master

Fixed type, and changed example for a more acceptable approach as time cannot be calculated per time zone