« first day (1845 days earlier)      last day (3104 days later) » 

11:49 PM
!!> new Date(+"/new Date(1415088000000)/".replace(/\D/g, ''))
 
@TravisJ "2014-11-04T08:00:00.000Z"
 
ugh
fuuu
 
It gives 8 hours of offset for PST
Which makes my charting look like junk
Is there culture being saved server side?
 
what charting?
2014 :D
 
11:51 PM
hm?
has years of records, teh charts, dey tense, dafuq, date suck, chart junk
 
i am not sure about the culture, i've never worked with it
isn't it set to pst by default?
 
It depends on several annoying factors I would rather avoid talking about right now lol
Long story short, converting to UTC server or client side ends up off by 8 hours
I only have an empty date.
It should really just occur at 0 time
#winning DateCreated = wdg.Key.ToUniversalTime().Date,
 
21
A: Having problems with converting my DateTime to UTC

dtbThe DateTime structure supports only two timezones: The local timezone the machine is running in. and UTC. Have a look at the DateTimeOffset structure. var info = TimeZoneInfo.FindSystemTimeZoneById("Tokyo Standard Time"); DateTimeOffset localServerTime = DateTimeOffset.Now; DateTimeOffset...

i just tried to run it and it displayed correct utc time
 
I already won :)
 
lol ok
 
11:59 PM
Using .Date removes the hours offset
I have used this before actually now that I think of it.
 

« first day (1845 days earlier)      last day (3104 days later) »