I'm looking to emulate the PHP date format functionality detailed at http://ch2.php.net/manual/en/function.date.php and already have a pretty efficient and short script using a combination of Active4d and 4D methods. Is there a way to emulate the following identifiers using Active4d, or will I have to write my own script to solve these?

D A textual representation of a day, three letters Mon through Sun
l (lowercase 'L') A full textual representation of the day of the week Sunday through Saturday S English ordinal suffix for the day of the month, 2 characters st, nd, rd or th
T Timezone setting of this machine Examples: EST, MDT ...

You have to do it yourself, except for the ordinal suffix which can be gotten from a4d.utils.ordinalOf().

Regards,

   Aparajita
   Victory-Heart Productions
   www.aparajitaworld.com

   "If you dare to fail, you are bound to succeed."
   - Sri Chinmoy   |   www.srichinmoylibrary.com

_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to