Jump to content


Member Since 06 May 2003
Offline Last Active Yesterday, 04:20 AM

Posts I've Made

In Topic: agree/disagree versus like

31 July 2015 - 07:38 PM

We discussed this a long time ago, and the consensus was that we wanted to keep everything positive. "Disagree" would carry with it negative connotations, and the argument is/was that if you disagree with some advice you are always free to post an alternative. A quick "thumbs down" button is also prone for abuse.

In Topic: Cut & paste to forum?

31 July 2015 - 07:23 PM

I've also found the strip format button to be useful on occasion.

In Topic: server time?

31 July 2015 - 07:22 PM

FWIW, this was because the time on the host machine was off. Phpfreaks is running in a virtual server, so any attempts to fix the time locally were doomed. We had to get the host server date/time fixed, and Eric setup NTP so hopefully this problem will not re-occur in the future.

In Topic: Need help on Time Formating

31 July 2015 - 06:59 PM

How about:

$string = $_REQUEST['sched-date']." ".$_REQUEST['sched-start'];
$date = DateTime::createFromFormat('Y-m-d H:i', $string);

echo "String: $string\n";
echo "ISO Format: " . $date->format('c');

In Topic: Replace Characters Algorithm with O(n) Time/Complexity Notation

09 July 2015 - 01:13 AM

Seems like the mystery is solved.  Nice thread guys!