Current date and time

Posted By: First

Current date and time - 01/03/19 16:12

I want to get the current date and time so to start I add this:

#include <stdlib.h>
#include <time.h>

I get:

Include file stdlib.h not found
Include file time.h not found

why?
Posted By: AndrewAMD

Re: Current date and time - 01/03/19 16:17

Because this is Lite-C, not C.

Zorro comes pre-packaged with headers found in the "include" folder, not the standard C library.
Posted By: First

Re: Current date and time - 01/04/19 01:16

OK.

I am trying to get the current time of day. Hence trying to use that 'include'. So how is that done in Lite-C?
Posted By: Spirit

Re: Current date and time - 01/04/19 05:56

http://manual.zorro-project.com/month.htm
© 2024 lite-C Forums