2011 DO NOT EXIST ➤ Timezone Offset can change for future dates ➤ Storing time with timezone is problematic ➤ At the DST transition, there is time jump or time repeated. ➤ That means, Day duration is not exactly 24 Hours, for some days ! ➤ TIMEZONE etc is a big mess, DO NOT DEAL with It Until is absolute needed !!
Hotel room is $200 per night on 29 July 2016 Rohan was absent on 1st April 2016 DAY + TIME + TIMEZONE In India, we will start meeting at 3:30PM at 2nd July 2016 we will start meeting at 3:30PM at 2nd July 2016 eat banana at 3:30PM of 3rd July 2016 and get rich TIMEZONE LESS WITH TIMEZONE TIMEZONE LESS
TIME + TIMEZONE TIMEZONE LESS WITH TIMEZONE TIMEZONE LESS YYYY-MM-DD is just sufficient 2016-04-09T20:18:48-05:00 2016-04-09 2016-04-09T20:18:48Z Z = UTC 1469183888786 2016-04-09 T20:18:48Z Z = UTC UTC TIMESTAMPS
meant for exact `milliseconds with client timezone` & We do not have any Construct like new Day(‘2016-07-27’), WE end up using `Date` constructor for Day wise attributes.
over wire and Client and Server may have there different understanding about timezone ! That create problem Client Server 2016-08-04T08:00:00.000Z 2016-08-04 1:30 PM In India 2016-08-03 10:00PM In US/Hawaii
only one room category and they have fixed rate during whole day. ➤ Hotel can be in any Country ➤ You need to show nearby Hotels to your current Location. ➤ Hotel Rates are too be shown with proper currency code. ➤ This is the most simple example and There is no possibility to have any DateTime or Timezone issue AT ALL.
different there is a timezone difference. ➤ BUT ➤ IT DOES NOT MATTERS ➤ YES ➤ If on UI, Two Pages Look exactly similar than Technically there should not be any difference on their Backend Implementation!