Skip to content

Instantly share code, notes, and snippets.

@kakashysen
Created May 24, 2016 23:01
Show Gist options
  • Select an option

  • Save kakashysen/33855a016468bfba407bb622f1486511 to your computer and use it in GitHub Desktop.

Select an option

Save kakashysen/33855a016468bfba407bb622f1486511 to your computer and use it in GitHub Desktop.
Get the current date from GTM system

How to get current date with GTM from system time zone

NSDate *now = [NSDate dateWithTimeInterval:[[NSTimeZone systemTimeZone] secondsFromGMT] sinceDate:[NSDate date]];

@Johnbabyrat
Copy link

what is your number plz honeybebe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment