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. C++ Windows Forms DateTime

C++ Windows Forms DateTime

Scheduled Pinned Locked Moved C / C++ / MFC
helpc++winformsquestion
4 Posts 4 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.
  • W Offline
    W Offline
    wael_r
    wrote on last edited by
    #1

    i'm using window forms application and i'm facing a problem with a variable date_time that hold a long value 1243930978 I need to convert this number to datetime Note : when i declare the variable as "CTime sss" it give error undeclared identifier "sss" any one can help?

    C S G 3 Replies Last reply
    0
    • W wael_r

      i'm using window forms application and i'm facing a problem with a variable date_time that hold a long value 1243930978 I need to convert this number to datetime Note : when i declare the variable as "CTime sss" it give error undeclared identifier "sss" any one can help?

      C Offline
      C Offline
      CPallini
      wrote on last edited by
      #2

      That's matter for the Managed C++/CLI forum [^]. Isn't that? :)

      If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
      This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
      [My articles]

      1 Reply Last reply
      0
      • W wael_r

        i'm using window forms application and i'm facing a problem with a variable date_time that hold a long value 1243930978 I need to convert this number to datetime Note : when i declare the variable as "CTime sss" it give error undeclared identifier "sss" any one can help?

        S Offline
        S Offline
        Stuart Dootson
        wrote on last edited by
        #3

        wael_r wrote:

        a variable date_time that hold a long value 1243930978 I need to convert this number to datetime

        It would probably help you to know the units that 'date_time' represents - is 1243930978 the number of seconds from some epoch? Or what? Do you know? Oh - and as I've suggested to you before - post to the correct forum, where they know about Managed C++/CLI

        Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

        1 Reply Last reply
        0
        • W wael_r

          i'm using window forms application and i'm facing a problem with a variable date_time that hold a long value 1243930978 I need to convert this number to datetime Note : when i declare the variable as "CTime sss" it give error undeclared identifier "sss" any one can help?

          G Offline
          G Offline
          George L Jackson
          wrote on last edited by
          #4

          Go to: http://www.codeproject.com/Messages/3066386/Re-Convert-to-datetime-problem.aspx[^]

          "We make a living by what we get, we make a life by what we give." --Winston Churchill

          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