|
- Forum - iziBasic
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 257
Topic # 1390 |
iziBasic PP applet for date/time string handling released |
23/04/2006 @ 18:06 by 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
Answer n° 1 -------- 24/04/2006 @ 12:43 by aldweb
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
|
|
|
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
visitor |
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
Answer n° 3 -------- 24/04/2006 @ 23:22 by KTimaster
visitor |
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
Answer n° 4 -------- 25/04/2006 @ 04:20 by bh77a
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. |
|
|
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
visitor |
For a datediff you could convert your two date in second (there are a function to do that) ... and you get the diff :) |
|
|
topic active
topic closed
Sticky
New message -
Correct message
Close topic
Make sticky
|
|