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
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Date-Time-Picker

Date-Time-Picker

Scheduled Pinned Locked Moved C / C++ / MFC
c++databasedata-structureshelpquestion
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kopfschnecke
    wrote on last edited by
    #1

    Hello. For a c++ Prog. i get CTime-Object from a access-DB. Converting into a Time-String for a Edit-Field is not a Problem. But: I have for Input three Date-Time-Picker, one for the day, the month, and the year. I've a great Problem to show the corrct dates in the Date-Time-Picker. First i'have tryed with a member on the dtp to convert the format member.setformat("dd"). This was ok. The DTP caught the systemtime korrekt in the form. But now I want to initialisize these tree DTP's with the Access CTime-Object. I'have tryed to split the CTime-Object with Format %d,%m,%Y)an then with setwindow text as Cstring. day and month was ok, but not the year (1970, instead of 1980), by the same method. Otherwise by storing i must store these three objects (day,mon, year) into a CTime-Object. Has someone a good idea for handling this????????? Thanks....

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

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