Jump to content



Photo

Using Android 4.2...no December 2012 for you


  • Please log in to reply
16 replies to this topic

#16 OP #Michael

#Michael

    Neowinian Senior

  • 6,272 posts
  • Joined: 28-August 01

Posted 19 November 2012 - 02:48

Finally, someone who hates December as much as I do. Bah Humbug. :p


Actually I hate January....everyone single one of my family has their birthday in January. It might seem like it is easy to remember but growing up it sucked as everyone's birthday got lumped together into one big party.


#17 firey

firey

    F͎̗͉͎͈͑͡ȉ͎̣̐́ṙ͖̺͕͙̓̌è̤̞͉̟̲͇̍̍̾̓ͥͅy͓̍̎̌̏̒

  • 8,068 posts
  • Joined: 30-October 05
  • Location: Alberta, Canada
  • OS: Windows 7
  • Phone: Android (4.4.2)

Posted 19 November 2012 - 02:53

I hate working with Dates. Especially due to countries having different formats (ie: US/Canada). US like to have their month and days switched compared to Canada. I work and live in Canada, but a lot of our customers are American. I don't know how many times I have run into a problem with code that was caused by different date formats. I ended up using some built in C# DateTime code to determine us/canada.

bool american = (DateTime.Parse("01/02/2012").Month == "02");

so that I can re-arrange the date strings.