MSSQL | Convert unix timestamp to date
Tuesday, April 24th, 2007select dateadd(ss, {field_name}, '19700101')
select dateadd(ss, {field_name}, '19700101')
All the commands you need in one page RoR cheat sheet
last_day_of_the_month = (Date.parse(year_to_process + "-" + (month_to_process.to_i + 1).to_s + "-01") – 1).mday().to_s rescue "31" The final rescue is due to catch the error when month_to_process is 12.
My interest for XUL is groving every day. Today I started to develop a Thunderbird Extension. Nothing special, just want to explore the XUL world. Here some usefull links: Getting started with Extension development Extension Developer's Extension Set of tool to make the extension developing easier and faster provided by Ted Mielczarek. I suggest The [...]
Table friends | Stores data Model Friend | Data validation & relationships like belongs_to or belongs_to Controller friend | Says what to do and where to do it
Oh no ! It happend again !! The sysadmin turned on the gpc_magic_quotes and you got the DB full of \' Here a fast way to get back the correct values. UPDATE table_name SET field_name = REPLACE(field_name,'\"',"")
Hello, I'm finally on Ubuntu, Dapper drake The setup was really easy. I don't have any strange device connected to the PC. The only thing that didn't work immediately was the dual monitor; I have a Nvidia 7600GS with dual DVI output with 2 BenQ FP93G. Thanks to this great tutorial Dual Monitors TwinView HowTo [...]