10 lines
265 B
C
10 lines
265 B
C
|
#pragma once
|
||
|
|
||
|
#include <ctime>
|
||
|
|
||
|
namespace mrbesen::doy {
|
||
|
|
||
|
unsigned int getDOY(bool timezone = false, time_t time = 0); //get the doy of today or specific time, timezone = false -> dont compensate for timezone, true -> compensate for timezone, returns 0 on error
|
||
|
|
||
|
|
||
|
}
|