Convert Safari History lastvisiteddate to date time

I want to Convert Safari History lastvisiteddate to date time.

Posts

  • DaveHuntDaveHunt USMember ✭✭✭✭✭

    A simple google search shows that that value is expressed as the number of seconds since "reference date" (i.e. 01/01/2001 00:00 GMT). Another quick google search reveals NSDate fromTimeIntervalSinceReferenceDate. A quick search of the Xamarin docs reveals the equivalent NSDate.FromTimeIntervalSinceReferenceDate.

    Just convert the lastvisiteddate to a double and pass it to the above method.

    A little time spent using the search tools at your disposal would save you a lot of time wasted waiting for someone else to do it for you. ;-)

This discussion has been closed.