Home About us GitHub Contact us Docs

FoxOS

Welcome to the FoxOS website!

to_unix_time

Signature: long long to_unix_time(int year, int month, int day, int hour, int minute, int second)
Description: Converts a struct to unix time

Parameters:

Return: long long

from_unix_time

Signature: void from_unix_time(unsigned long int unixtime, int* year, int* month, int* day, int* hour, int* minute, int* second)
Description: Converts unix time to a struct

Parameters:

Return: void

Show file on GitHub