aldweb

Fermer I. aldweb

Fermer II. Gratuitiels PC

Fermer III. Gratuitiels Palm

Fermer IV. Partagiciels Palm

Fermer V. iziBasic Palm

Fermer VI. Connaissance Palm

Fermer VII. Ordinateur Poche

Fermer VIII. miniPortail

Spécial !



Version mobile
de l'aldweb Site

m.aldweb.com


Ni Français, ni Anglais ?

Essayez donc l'un de ces drapeaux :
[de] [es] [it] [pt]
Recherche




Météo / Spam / www

Météo Lyon


aldweb contre le SPAM


Newsletter
Pour avoir des nouvelles de ce site, inscrivez-vous à notre Newsletter.
S'abonner
Se désabonner
298 Abonnés
Sites web de la famille

Webmaster - Infos
News Amis
Visites

   visiteurs

   visiteurs en ligne

Sondage
Comment trouve-tu le nouvel habillage de l'aldweb Site ?
 
Superbe !
Joli
Moyen
Moche...
Résultats
forum.gifForum - iziBasic - Sujet n°1390

Forum - Forum
iziBasic - iziBasic


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

actif  Sujet n° 1390  iziBasic PP applet for date/time string handling released

le 23/04/2006 @ 18:06
par bh77a

Anonyme



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
Ecrire à bh77a   Poster une réponse  Haut

[]   


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

Anonyme

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
Ecrire à aldweb   Poster une réponse  Haut

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

Anonyme

visiteur
Hi,

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

Regards,
bh77a
Ecrire à bh77a   Poster une réponse  Haut

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

Anonyme

visiteur
Cool, May I ask What Font are you using
Ecrire à KTimaster   Poster une réponse  Haut

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

Anonyme

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.
Ecrire à bh77a   Poster une réponse  Haut

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

Anonyme

visiteur
For a datediff you could convert your two date in second (there are a function to do that) ... and you get the diff :)
Ecrire à Khertan   Poster une réponse  Haut
actif sujet actif   clos sujet clos   Important! Important!   Nouveau Nouveau message   -   Rectifier Rectifier message   Clôturer Clôturer sujet   Remonter Remonter
[]
Catégories de discussion  Forum 



 
^ Haut ^