In SX Microcontrollers, SX/B Compiler and SX-Key Tool, kd5dhu wrote: No other code between the to statements. Year is a byte but it is defined this way: [code] Time VAR BYTE(7) Hour VAR Time(0) Minute VAR Time(1) Second VAR Time(2) Day VAR Time(3) Month VAR Time(4) Year VAR Time(5) Valid VAR Time(6) [/code] Should that make a difference? ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=145383#m145387 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)