• I would just use integer division and remainders. x / ticks_per_day gives the number of full days that have passed and x % ticks_per_day gives the remaining ticks. By the way, it looks like a tick is 100 nanoseconds.

    Drew

    J. Drew Allen
    Business Intelligence Analyst
    Philadelphia, PA