Using milliseconds when delaying in hours

Hi.

I´m making an simple timer that turns a light on and off, with 14 hours on then 10 hours off.

Can I use the code in blink code included in the Arduino software and simply put in 50.400.000 and 36.000.000 ms?!

Or will it drift way off in short time?
The 14/10 hours isn´t really that big of a deal if its exact or not since it´s only controlling a light for plants..

You can use any number up to 4294967295 (49 and a bit days in milliseconds) in the delay() function or when using millis() to manage the delay, but don't expect it to be accurate over a long period

millis( ) returns unsigned long integer

unsigned long values are from 0 to 4.294.967.295 (2^32 - 1)

.