get date and time formatted

Discussion in 'C++' started by Larry, Jan 20, 2010.

  1. Larry

    Larry Guest

    Hi,

    is there any way I can get the time formatted like this?

    Fri, 10 Oct 2008 14:41:59 GMT

    thanks
     
    Larry, Jan 20, 2010
    #1
    1. Advertisements

  2. Larry

    Guest

    On Jan 19, 7:06 pm, "Larry" <> wrote:
    > Hi,
    >
    >    is there any way I can get the time formatted like this?



    strftime() should do the trick for you.
     
    , Jan 20, 2010
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Matt
    Replies:
    1
    Views:
    846
    Matthew Speed
    Nov 8, 2003
  2. Karunakararao
    Replies:
    0
    Views:
    807
    Karunakararao
    May 11, 2004
  3. Chris Berg
    Replies:
    0
    Views:
    1,095
    Chris Berg
    Oct 27, 2003
  4. Peter Grison

    Date, date date date....

    Peter Grison, May 28, 2004, in forum: Java
    Replies:
    10
    Views:
    3,804
    Michael Borgwardt
    May 30, 2004
  5. Matt
    Replies:
    2
    Views:
    768
    Pete Becker
    Nov 8, 2003
  6. Keith Cochrane
    Replies:
    2
    Views:
    860
    Keith Cochrane
    Aug 6, 2006
  7. flamesrock
    Replies:
    8
    Views:
    818
    Hendrik van Rooyen
    Nov 24, 2006
  8. Summu82
    Replies:
    5
    Views:
    1,139
    Richard Heathfield
    Jun 7, 2006
Loading...