in scratch, there are blocks that can sense the year all the way down to the second. there are ways to make it nanoseconds or milliseconds or something like that. but I will let you figure that out on your own. :)
@Za_Chary for inspiration