I was wondering if anyone would be able to give me a rough guideline of the phpBB 2.1.x datetime functions so far.
which files contain them?
and what date/time variables are used etc...
date time functions
Forum rules
Discussion of general topics related to the new release and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
Discussion of general topics related to the new release and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
date time functions
psoTFX wrote: I went with Olympus because as I said to the teams ... "It's been one hell of a hill to climb"
dhn wrote: You are the admin, learn how to use phpBB 3.0 and you can do exactly that what you want. Satisfy your users.
Re: date time functions
Does this mean you have made no custom functions?
If so... Excellent
Once I know, I'm happy
If so... Excellent
Once I know, I'm happy
psoTFX wrote: I went with Olympus because as I said to the teams ... "It's been one hell of a hill to climb"
dhn wrote: You are the admin, learn how to use phpBB 3.0 and you can do exactly that what you want. Satisfy your users.
- dhn
- Registered User
- Posts: 1518
- Joined: Wed Jul 04, 2001 8:10 am
- Location: Around the corner
- Contact:
Re: date time functions
The only custom thing is that you can choose via the [] brackets if you want the relative "Today", "Yesterday" timestamps for the last two days or just keep the normal timestamp for those days also.
- SHS`
- Registered User
- Posts: 1628
- Joined: Wed Jul 04, 2001 9:13 am
- Location: The Boonies, Hong Kong
- Contact:
Re: date time functions
( '[' || ']' ) != '|'dhn wrote:The only custom thing is that you can choose via the [] brackets if you want the relative "Today", "Yesterday" timestamps for the last two days or just keep the normal timestamp for those days also.
Jonathan “SHS`” Stanley • 史德信
phpBB™ 3.1.x, Bug/Security trackers
phpBB™ Bertie Bear 3.0 — prosilver Edition! • Asking Questions The Smart Way
phpBB™ 3.1.x, Bug/Security trackers
phpBB™ Bertie Bear 3.0 — prosilver Edition! • Asking Questions The Smart Way
Re: date time functions
Code: Select all
preg_match( "/^[-^!#$%&'*+\/=?`{|}~.\w]+@" .
"[a-zA-Z0-9]([-a-zA-Z0-9]*[a-zA-Z0-9])*" .
"(\.[a-zA-Z0-9]([-a-zA-Z0-9]*[a-zA-Z0-9])*)+$/", $email )
- upsTex