Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
M

MaverickTC

@MaverickTC
About
Posts
2
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • CMonthCalCtrl -> Need help on getting Date...
    M MaverickTC

    I get the date from my CMonthCalCtrl like this: CTime CurrentCDate; CString CurrentSelectedDate; //Get the currentselected date KalenderControl2.GetCurSel(CurrentCDate); CurrentSelectedDate.Format(_T("%02d / %02d / %02d"),CurrentCDate.GetDay(),CurrentCDate.GetMonth(),CurrentCDate.GetYear()); //Put it in a box SetDlgItemText(IDC_CURRDATE2,CurrentSelectedDate); This gives me a f***ed up date, days +13 (in win 2000) and days +8, months +3 in win95/98. I need help on this please, what am I doing wrong that the output is wrong? Thanks in advance, Tom Cornille

    C / C++ / MFC help question

  • CMonthCalCtrl -> Need help on getting Date...
    M MaverickTC

    I get the date from my CMonthCalCtrl like this: CTime CurrentCDate; CString CurrentSelectedDate; //Get the currentselected date KalenderControl2.GetCurSel(CurrentCDate); CurrentSelectedDate.Format(_T("%02d / %02d / %02d"),CurrentCDate.GetDay(),CurrentCDate.GetMonth(),CurrentCDate.GetYear()); //Put it in a box SetDlgItemText(IDC_CURRDATE2,CurrentSelectedDate); This gives me a fucked up date, days +13 (in win 2000) and days +8, months +3 in win95/98. I need help on this please, what am I doing wrong that the output is wrong? Thanks in advance, Tom Cornille

    IT & Infrastructure help question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups