aldweb

Close I. aldweb

Close II. PC Freeware

Close III. Palm Freeware

Close IV. Palm Shareware

Close V. iziBasic Palm

Close VI. Palm Knowledge

Close VII. Pocket Computer

Close VIII. miniPortail

Special !



Mobile version of
the aldweb Site

m.aldweb.com


Neither French, nor English?

Try one of these flags then:
[de] [es] [it] [pt]
Search




Weather / Spam / www

Lyon Weather


aldweb against spam


Newsletter
To receive news about this website, consider subscribing to our Newsletter.
Subscribe
Unsubscribe
298 Subscribers
Family's web sites

Webmaster - Infos
Friends News
Visits

   visitors

   visitors online

Poll
What do you think of the new design of the aldweb Site?
 
Great !
Beautiful
Average
So ugly...
Results
forum.gifForum - iziBasic - Topic #1390

Forum - Forum
iziBasic - iziBasic


Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 257

active  Topic # 1390  iziBasic PP applet for date/time string handling released

23/04/2006 @ 18:06
by bh77a

Anonymous



I have just uploaded a PP applet for use with iziBasic at:
http://geocities.com/bh77a/palm_stuff/ib_applet_datetime.html

The applet source and iziBasic source are included, along with necessary API. The API could easily be modified to not have the two other includes if one chooses so...

The applet allows for date/time string manipulation in the following ways (see screenshot):
- digital clock (12 hour)
- digital clock (12 hour w/ am/pm)
- digital clock (24 hour)
- Weekday name (ie, Sunday)
- Weekday # (ie, 23)
- Month name (ie, April)
- Month # (ie, 4)
- Year (ie, 2006)
- m/d/y (ie, 4/23/2006)
- M/D/Y String (ie, April 23, 2006)
- W/M/D/Y String (ie, Sunday, April 23, 2006)

The source is commented fairly clearly (I hope). Feel free to offer any suggestions for improving or ask questions as needed.

Of course, you have full permission to use the source code in any way that you wish.

Enjoy,
Brian
Write to bh77a   Post an answer  Top

[]   


Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 1
--------
24/04/2006 @ 12:43
by aldweb

Anonymous

visitor
Thanks to you to share your work with everybody.
To ease our visitors' work, here is a direct link: http://geocities.com/bh77a/palm_stuff/ib_applet_datetime.html

This is a great applet.
May I suggest a few extension ideas?
1. Add DateDiff() and TimeDiff() functions...
2. Offer D/M/Y and W/M/D/Y for European fellows (d/m/y is the format returned by the DATE$­­ function)

Cheers,
aldweb
Write to aldweb   Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 2
--------
24/04/2006 @ 13:18
by bh77a

Anonymous

visitor
Hi,

Thank you. I will add your suggestions in the next day or so.

Regards,
bh77a
Write to bh77a   Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 3
--------
24/04/2006 @ 23:22
by KTimaster

Anonymous

visitor
Cool, May I ask What Font are you using
Write to KTimaster   Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 4
--------
25/04/2006 @ 04:20
by bh77a

Anonymous

visitor
The font is "Amerika 15 AA" and is controlled by Alex Pruss' FontSmoother, which is controlled by Igor Nestorov's YAHM (Yet Another Hack Manager).

The datediff() function through me at first, but I think it can be implemented fairly easily by using the DateToDays API function and a little bit of math... will be a couple of days until it is ready.
Write to bh77a   Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 5
--------
27/04/2006 @ 21:20
by Khertan

Anonymous

visitor
For a datediff you could convert your two date in second (there are a function to do that) ... and you get the diff :)
Write to Khertan   Post an answer  Top
active topic active   closed topic closed   Sticky Sticky   New New message   -   Correct Correct message   Close Close topic   Make sticky Make sticky
[]
Forum Topic  Forum 



 
^ Top ^