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. Get number of days used

Get number of days used

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialannouncement
3 Posts 3 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.
  • I Offline
    I Offline
    includeh10
    wrote on last edited by
    #1

    My app requires to update software from the internet. I need to know the number of days from last update day to current day. one solution is using GetSystemTime(). GetSystemTime() obtains year, month and day, but how to transfer SYSTEMTIME to absolute days, so number of days between the period can be calculated easily.

    G D 2 Replies Last reply
    0
    • I includeh10

      My app requires to update software from the internet. I need to know the number of days from last update day to current day. one solution is using GetSystemTime(). GetSystemTime() obtains year, month and day, but how to transfer SYSTEMTIME to absolute days, so number of days between the period can be calculated easily.

      G Offline
      G Offline
      Ganesh_T
      wrote on last edited by
      #2

      store the values in regisry and check while updating "A winner is not one who never fails...but the one who never quits"

      1 Reply Last reply
      0
      • I includeh10

        My app requires to update software from the internet. I need to know the number of days from last update day to current day. one solution is using GetSystemTime(). GetSystemTime() obtains year, month and day, but how to transfer SYSTEMTIME to absolute days, so number of days between the period can be calculated easily.

        D Offline
        D Offline
        Dreamz
        wrote on last edited by
        #3

        Will this[^] help?

        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