flash8 actionscript 2.0 help w/code for specific date & time for a frame jump

Just when i think I have learned something and can make something work…I find out I know less than nothing…hahaha…its either laugh or tear my hair out (thinks there must be a lot of bald actionscripters) LOL
this is the code i came up with and is not working. I want this on a frame on main timeline and when it hits the target date and time gotoAndPlay(theframe). Any help be much appreciated …ty

nyeve.onEnterFrame = function() {
nyeveDate = new Date();
seconds = nyeveDate.getSeconds();
minutes = nyeveDate.getMinutes();
hours = nyeveDate.getHours();
if(nyeveDate == currentyear, 11, 31 && hours == 23 && minute ==59 && seconds == 50);
gotoAndPlay(257);
};