Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Code Samples & Tips
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Code Samples & Tips Share your recent discoveries and ideas with other users.

Simply Tics

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-27-2008, 05:52 PM
Junior Member
 
Join Date: Apr 2007
Location: Catalonia
Posts: 45
Default Simply Tics

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
Attached Files
File Type: bas DayTics.bas (909 Bytes, 49 views)
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On


All times are GMT. The time now is 10:07 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0