Archive for the 'geek.javascript' Category

managing timezones with PHP and Javascript

Wednesday, December 6th, 2006

In a current project we need to keep a log of all activities and present that log to the users. And once we start needing to tell users about times we raise the whole spectre of timezones.
After some heated design discussions we narrowed our requirements to needing to provide a choice of two possible […]

comparison and logical operators for common web development languages

Monday, January 9th, 2006

Comparison and Logical operators are used for testing data values. Sadly the operators to use are not consistent across languages. This article summarises the most common operators for the key web development languages:

Javascript
ASP
PHP
SQL

For SQL we checked both mySQL and MS SQL. All operators listed here should work in both.
Comparison

Operator
Javascript
ASP
PHP
SQL

Less than
<
<
<
<

Less than or […]