Simply Tics

PepSoft

Member
Licensed User
Longtime User
Hello:

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.


PepSoft
 

Attachments

  • DayTics.bas
    909 bytes · Views: 346
Top