Author Topic: More Hand Holding!  (Read 5046 times)

Bohb Daishi

  • Sr. Member
  • ****
  • Posts: 481
  • I eat free lunches
    • View Profile
More Hand Holding!
« on: April 17, 2014, 01:06:24 AM »
Anyone notice this on your notes?



My favorite part is that the note I took that picture from was last updated on March 64, 2014...  :o
There are three ways to make a living in this business: be first, be smarter, or cheat.

Bohb Daishi

  • Sr. Member
  • ****
  • Posts: 481
  • I eat free lunches
    • View Profile
Re: More Hand Holding!
« Reply #1 on: April 17, 2014, 01:28:40 AM »
My favorite part is that the note I took that picture from was last updated on March 64, 2014...  :o

Do any of you programmers have a a guess as to how the day field on the date is the 64th?
There are three ways to make a living in this business: be first, be smarter, or cheat.

Fred

  • Hero Member
  • *****
  • Posts: 1421
    • View Profile
Re: More Hand Holding!
« Reply #2 on: April 17, 2014, 02:56:43 AM »
Do any of you programmers have a a guess as to how the day field on the date is the 64th?

If this is in Java, it could be a date format issue: mm/dd/yyyy vs. mm/DD/yyyy

- dd is for 'day of the month'
- DD is for 'day of the year'

http://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html

Fred93

  • Hero Member
  • *****
  • Posts: 2142
    • View Profile
Re: More Hand Holding!
« Reply #3 on: April 17, 2014, 03:06:10 AM »
If this is in Java, it could be a date format issue: mm/dd/yyyy vs. mm/DD/yyyy
- dd is for 'day of the month'
- DD is for 'day of the year'

Wow.  You nailed it! 

I looked at a few other late notes, and they are all consistent with this diagnosis.  (ie the day number is a day-of-year value that would occur in the month in question)


core

  • Hero Member
  • *****
  • Posts: 1784
  • Your loss is my gain
    • View Profile
Re: More Hand Holding!
« Reply #4 on: April 17, 2014, 04:39:49 AM »
Thanks Fred.  I learn something new every day.  I did not know any of this.  In this case I now see what happens when 20somethings design a language after they can't figure out how to use strftime() in a real language.   Damn good show chap.

Bohb Daishi

  • Sr. Member
  • ****
  • Posts: 481
  • I eat free lunches
    • View Profile
Re: More Hand Holding!
« Reply #5 on: April 17, 2014, 10:01:47 AM »
Do any of you programmers have a a guess as to how the day field on the date is the 64th?

If this is in Java, it could be a date format issue: mm/dd/yyyy vs. mm/DD/yyyy

- dd is for 'day of the month'
- DD is for 'day of the year'

I knew it had to be some sort of date formatting issue. The only other explanation would be that Lending Club stored dates as strings/integers and something messed up. Or, heaven forbid, the value was manually entered for each note.
There are three ways to make a living in this business: be first, be smarter, or cheat.