System call for current date, time

Is there a system call to get the current date and time? I can’t find anything except real_time_clock
in the BeBook. The header support/DateTime.h contains classes BDate, BTIme, BDateTime,
but I can’t get them to work, and can’t find documentation.

Searching the source might help you (search the source; near the bottom):

or direct link:

Also, you should ask these questions to 3rd party developer list because then developers will help you out.