Get the YDAY (1-366)
#1

Hey there.

I asked myself, how i can get the current day of the year (ranging from 1 (1st January) to 365 (31 December)).
I need it for some conversions and displays.

Any Ideas, how i can get the day/month ?

Regards,
Trooper
Reply
#2

There are time/date functions in time.inc if this is what you needed.

native gettime(&hour=0, &minute=0, &second=0);
native getdate(&year=0, &month=0, &day=0);
native tickcount(&granularity=0);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)