Welcome, Guest. Please Login or Register.
August 28, 2025, 11:19:20 AM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  English User Help  |  English Help  |  Time query (1st 2nd 3rd etc) « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Time query (1st 2nd 3rd etc)  (Read 313 times)
Mach8
Sweetie
Beta Tester
YaBB God
*****
Posts: 1218


ICQ - 339855961
Time query (1st 2nd 3rd etc)
« on: April 02, 2002, 03:48:45 PM »
Reply with quote

I've looked all over the PHP docs and the Unix help files for this, can't find it :(

In 1.0.0 you could use jS to print the day of the month with its appropriate suffix, i.e. 1st March, 2nd June, 3rd April, 4th January. How can I do this with the strftime() function you're now using?
« Last Edit: April 02, 2002, 03:50:00 PM by Mach8 » Logged
alexrolko
Guest
Re:Time query (1st 2nd 3rd etc)
« Reply #1 on: April 03, 2002, 01:00:47 AM »
Reply with quote

check http://www.php.net/manual/en/function.strftime.php.
Logged
Mach8
Sweetie
Beta Tester
YaBB God
*****
Posts: 1218


ICQ - 339855961
Re:Time query (1st 2nd 3rd etc)
« Reply #2 on: April 03, 2002, 09:02:31 AM »
Reply with quote

Already checked (got the documentation offline) and can't find it anywhere  :-\
Logged
alexrolko
Guest
Re:Time query (1st 2nd 3rd etc)
« Reply #3 on: April 03, 2002, 12:07:50 PM »
Reply with quote

then i dont think there is a way to have 1st, 2nd, 3rd, 4th, 5th, etc
Logged
Mach8
Sweetie
Beta Tester
YaBB God
*****
Posts: 1218


ICQ - 339855961
Re:Time query (1st 2nd 3rd etc)
« Reply #4 on: April 03, 2002, 12:10:07 PM »
Reply with quote

Grr... I'll have to change my time/date functions. Ah well :)
Logged
TheJkWhoSaysNi
YaBB God
*****
Posts: 1025


I dont know what to put here, i'll leave it blank.

ICQ - 122821095TheJkWhoSaysNi@evilemail.com WWW
Re:Time query (1st 2nd 3rd etc)
« Reply #5 on: April 03, 2002, 02:01:13 PM »
Reply with quote

i was about to post this exact thing, so there is no way to have 1st 2nd 3rd? that sucks! you could with 1.0.0 and Y1G
Logged

WARNING: THIS POST MAY CONTAIN TRACES OF PEANUT!!!
I'm listening to....
Joseph Fung
Global Moderator
YaBB God
*****
Posts: 4512


Keep smiling: it makes others nervous.

WWW
Re:Time query (1st 2nd 3rd etc)
« Reply #6 on: April 03, 2002, 02:05:57 PM »
Reply with quote

yes, but in 1.0.0 you also couldn't use the time settings for your region.

you can now.

suck it up  ;)
Logged

alexrolko
Guest
Re:Time query (1st 2nd 3rd etc)
« Reply #7 on: April 03, 2002, 02:12:06 PM »
Reply with quote

with every action there is a re-action.

you gain new functionality with a different function, yet loose functionality with a different function.
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  Time query (1st 2nd 3rd etc) « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.056 seconds with 21 queries.