Anyone know a way of comparing time_created values?
Say for example I wanted to know/check if 1 object was a week older than another....?
if ($object->time_created < $anotherobject->time_created - 7) {
do something }
?
Just googgle for timestamp comparison
The time is in seconds so you can't just subtract 7.
Advertising is not allowed in the forums: "You must not create or submit unwanted email or advertisements to community.elgg.org or any of its members".
If someone submits a request in the professional services group, it's fine to respond. If anyone sees this kind of thing in the forums, please report it using the "Report this" link in the sidebar.
@ Cash
Thanks!
@ Steve
i understand there's no such thing as a free lunch. I understand that if i were at a dealership with no money then i have no business asking for anything. except I'm not at a dealership nor the professional services forum. I'm on an OPEN SOURCE site communicating with someone about an idea.
I wasn't trying to be rude or put my foot in my mouth, i was just pointing out that this isn't the professional services forum. its like telemarketing and no one likes to be bothered with unwanted solicitation. I've used professional services three times for my site and have received %100 satisfaction, so i know where to go to find it.
@ James
I hear you and understand your prior comment and frustration toward unwanted help. Myself, well, I read between Dhrup's lines and extract the info I need and use that info or ignor it. Most of the time he offers up some really good advise as do all of the developers here. Sometimes another question toward their solution or idea opens the flood gates. Just a thought!
Nice rig you have in your profile pic, by the way!
Steve
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.