Time Ago

Posted In CategoryGeneral Discussion
  • Will 10 months ago

    Hey terry I incorperated the time ago successfully, but its always an hour behind the time zone is set to new york and we are on the same time zone so what would be the best way to handle date and times for other users?

  • Terry Ogbemudia 10 months ago

    The best way is to use Carbon, the reason for this time ago snipet was to reveal some of the mechanics behind date manipulation but I advice again using it for production server.

    For your case it might be the timezone of your server or is this in localhost?

Please login or register to leave a response.