Sunday, February 14, 2016

Azure: DateTimeOffset

Many of Azure storage APIs are using DateTimeOffset .NET type instead of usual DateTime.
That structure includes UTC times and local offset to UTC

Choosing Between DateTime, DateTimeOffset, TimeSpan, and TimeZoneInfo @ MSDN

datetimeoffset (Transact-SQL)
Storage size: 10 bytes, fixed is the default with the default of 100ns fractional second precision

course: Date and Time Fundamentals | Pluralsight

c# - DateTime vs DateTimeOffset - Stack Overflow
Instantaneous Time vs Calendar Time Visualization
"If you ever need to modify a previously recorded DateTimeOffset - you don't have enough information in the offset alone to ensure that the new offset is still relevant for the user. You must also store a timezone identifier (think - I need the name of that camera so I can take a new picture even if the position has changed).

It should also be pointed out that Noda Time has a representation called ZonedDateTime for this, while the .Net base class library does not have anything similar. You would need to store both a DateTimeOffset and a TimeZoneInfo.Id value."



book: The 8th Habit by Stephen Covey

8thHabit.JPG
The 8th Habit - Wikipedia, the free encyclopedia
"The 8th Habit: From Effectiveness to Greatness is a book written by Stephen R. Covey, published in 2004.[1] It is an upgrade of The Seven Habits of Highly Effective People, first published in 1989. As such, it clarifies and reinforces Covey's earlier declaration that "Interdependence is a higher value than independence."

The eighth habit is "Find your voice and inspire others to find theirs."
Voice is Covey's code for "unique personal significance."
Those who inspire others to find theirs are the leaders needed now and for the future, according to Covey."


For Impact Ideas | For Impact | The Suddes Group
"‘VOICE’ is about unique, personal significance! Covey says, “VOICE lies at the nexus of 

  • Talent (your natural gifts and strengths,
     'what you are good at') plus 
  • Passion (those things that naturally energize, excite, motivate and inspire you,
     'what you like doing'), 
  • Need (including 'what the world needs' enough to pay you for) and 
  • Conscious (small voice within that assures you of 'what is right' and prompts you to actually do it).”


STEPHEN COVEY | THE 8TH HABIT FROM EFFECTIVENESS TO GREATNESS FULL - YouTube

There are 4 dimensions to human nature: capabilities, needs, intelligence
  • body (need)
  • mind (talent)
  • hart (passion)
  • spirit (conscience)
People can discover their voice because of the three gifts everyone is born with:
  1. The freedom to choose
  2. The natural laws or principles – those that dictate the consequences of behavior. Positive consequences come from fairness, kindness, respect, honesty, integrity, service and contribution
  3. The four intelligences – mental, physical, emotional and spiritual.
The book talks of "5 Cancerous Behaviors" that inhibit people's greatness:
Stephen Covey explaining the charactor ethic and the personality ethic - YouTube