I have not a clue why you would need @Ticks to figure out the uptime. There have been solutions posted that calculate the uptime by reading the event log and there is the ResKit UPTIME.EXE that uses the same methodology.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.