Simply Tics

Discussion in 'Code Samples & Tips' started by PepSoft, Oct 27, 2008.

  1. PepSoft

    PepSoft Member Licensed User


    In Basic4PPc the dates are stored in TIC's. Each Tic is 1/10.000.000 of second. This causes that the DateParse function returns a high numeros, that sometimes are dificult to handle.

    I have created I modulate to simplify these numbers and to make them small.

    The DDateParse(Fecha) Returns the number of days since January 1, AD 0001.This I number I called DTic's.

    DTic is a number of days since January 1, AD 0001.

    DDate(DTics) Returns a Date string from a DTic's value.


    Attached Files:

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice