|
- Forum - iziBasic
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 257
Sujet n° 1390 |
iziBasic PP applet for date/time string handling released |
le 23/04/2006 @ 18:06 par bh77a
|
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 |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 1 -------- le 24/04/2006 @ 12:43 par aldweb
visiteur |
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
|
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 2 -------- le 24/04/2006 @ 13:18 par bh77a
visiteur |
Hi,
Thank you. I will add your suggestions in the next day or so.
Regards, bh77a |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 3 -------- le 24/04/2006 @ 23:22 par KTimaster
visiteur |
Cool, May I ask What Font are you using |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 4 -------- le 25/04/2006 @ 04:20 par bh77a
visiteur |
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. |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 5 -------- le 27/04/2006 @ 21:20 par Khertan
visiteur |
For a datediff you could convert your two date in second (there are a function to do that) ... and you get the diff :) |
|
|
sujet actif
sujet clos
Important!
Nouveau message -
Rectifier message
Clôturer sujet
Remonter
|
|