8

How is SecureString "encrypted" and still usable?

I answered this question on Monday and the UTC time and my local time were both Monday. Today is UTC/Local Wednesday.

It might be off.

  • 1
    I think it's by design: stackoverflow.com/questions/11/how-do-i-calculate-relative-time/… (see comments) - that's a very, very, very old question and that comment pointing out the same thing as your question has been there nearly as long... – Jon Aug 10 '11 at 12:47
  • 2
    The text shows "2 days ago" and the tooltip is showing 12:39 on the 8/8 for me. – ChrisF Aug 10 '11 at 12:47
  • @ChrisF it would have just flipped from "yesterday", it's 12:49 UTC as at time of this comment – Jon Aug 10 '11 at 12:49
  • @Jon - ah yes indeed it would. – ChrisF Aug 10 '11 at 12:50
  • alright thanks you guys. – Daniel A. White Aug 10 '11 at 13:21
  • 1
    So, yesterday is anything less than 48 hours ago? (I have a similar case now, let's wait some more minutes). – Paŭlo Ebermann Aug 28 '11 at 18:47
  • 1
    Yes, just the 48 hour mark is the limit between "yesterday" and "two days ago". :-/ – Paŭlo Ebermann Aug 28 '11 at 19:55
  • 1
    I think what causes the confusion is that yesterday is a period in time, where-as everything else is hours/minutes ago and the calculation uses time differences rather than checking whether the time is within the time-frame that we think of as 'yesterday'. It gets complicated though as things could get confusing for people not in UTC as obviously their 'yesterday' is a different period in time. I'd be tempted to remove it and go straight from hours to days – George Duckett Jan 10 '13 at 16:28

You must log in to answer this question.

Browse other questions tagged .