Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Formatting Date/Time in C

  • 02-04-2012 08:49PM
    #1
    Registered Users, Registered Users 2 Posts: 154 ✭✭


    I'm doing a small project which takes a virtual GPS data string (GPRMS) and parses the data.
    Once I have done this one the data for date is in this format "ddmmyy".

    I've spent most of the day trying to figure out how to change that into say "dd/mm/yyyy" or even better "02 April 2012" so I can send this to my LCD screen. I am pretty new to programming in C but I'm getting better. Anybody who knows how do this in C, I would appreciate if you could share with me how! I've been going round in circles and this seems like such a simple task (if you know how!) :)


Comments

  • Registered Users, Registered Users 2 Posts: 154 ✭✭mac_iomhair


    I figured it out. Thread may be deleted.


Advertisement