CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

GPS weeks to calendar

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
championx



Joined: 28 Feb 2006
Posts: 151

View user's profile Send private message

GPS weeks to calendar
PostPosted: Thu Oct 22, 2015 8:42 am     Reply with quote

Hi, how are you? i need to convert the time coming from a GPS device, the format is "weeks from January 1 of 1980 at 00:00:00".

I need to convert this date to day, month, year... is there any function or method to do this?

thanks.
ezflyr



Joined: 25 Oct 2010
Posts: 1019
Location: Tewksbury, MA

View user's profile Send private message

PostPosted: Thu Oct 22, 2015 9:27 am     Reply with quote

Hi,

Which 'GPS device"?

Which NMEA 'sentence' are you trying to decode? There are NMEA sentences that directly give you what you want with no conversion required!
_________________
John

If it's worth doing, it's worth doing in real hardware!
temtronic



Joined: 01 Jul 2010
Posts: 9225
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Thu Oct 22, 2015 12:09 pm     Reply with quote

ah, that takes the fun out of 'playing computer' and learning !!

Jay
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group