Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

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
Advertisement