Skip to content

Add functionality to print UNIX Epoch time #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Apr 21, 2020
Merged

Add functionality to print UNIX Epoch time #2

merged 6 commits into from
Apr 21, 2020

Conversation

adamgarbo
Copy link
Contributor

Hi Andy (@AndyEngland521 ),

Similar to the PR I made for the RV-1805 library, I've added functionality to print the UNIX Epoch time to the RV-8803 library. Tested with a SparkFun Artemis Redboard.

The getEpoch() function allows the user to print the current date and time as a UNIX Epoch timestamp. This requires including <time.h>. Example7-Print_Epoch demonstrates the use of this function.

I'll work on adding additional functionality to this library once I have a bit more hands-on time with it.

Cheers,
Adam

@AndyEngland521 AndyEngland521 merged commit 2366bb7 into sparkfun:master Apr 21, 2020
@AndyEngland521
Copy link
Contributor

Thanks as always Adam!

@adamgarbo adamgarbo deleted the epoch branch April 21, 2020 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants