About 33,200,000 results
Open links in new tab
  1. SQL Server equivalent of MySQL's NOW ()? - Stack Overflow

    Dec 22, 2008 · I'm a MySQL guy working on a SQL Server project, trying to get a datetime field to show the current time. In MySQL I'd use NOW() but it isn't accepting that. INSERT INTO …

  2. .net - DateTime.Now vs. DateTime.UtcNow - Stack Overflow

    Sep 15, 2008 · DateTime.Now gives the date and time as it would appear to someone in your current locale. I'd recommend using DateTime.Now whenever you're displaying a date to a …

  3. Python datetime.now() with timezone - Stack Overflow

    Jun 8, 2015 · I have a timezone which is float (for example 4.0). I want to construct datetime with given timezone. I tried this, datetime.now(timezone) but it throws TypeError: tzinfo argument …

  4. mysql - Now () vs GetDate () - Stack Overflow

    Jan 7, 2014 · I am migrating my database from sqlserver to mysql when i come to getDate() function in sqlserver the replacement in mysql is Now() but Now() not returned the exact result …

  5. mysql - When running UPDATE ... datetime = NOW (); will all rows ...

    Jul 4, 2016 · UPDATE table SET datetime = NOW(); on a table with 1 000 000 000 records and the query takes 10 seconds to run, will all the rows have the exact same time (minutes and …

  6. mysql - Select records from NOW () -1 Day - Stack Overflow

    Dec 17, 2011 · Is there a way in a MySQL statement to order records (through a date stamp) by >= NOW() -1 so all records from the day before today to the future are selected?

  7. datetime - NOW () function in PHP - Stack Overflow

    Is there a PHP function that returns the date and time in the same format as the MySQL function NOW()? I know how to do it using date(), but I am asking if there is a function only for this. For

  8. The 2025 Developer Survey is Now Live - Meta Stack Overflow

    July 29, 2025 Update: The 2025 Dev Survey results are now live! The technology section is updated this year with the 5 most common write-in responses for technologies used and want …

  9. Set a DateTime database field to "Now" - Stack Overflow

    Dec 20, 2010 · In VB.net code, I create requests with SQL parameters. It I set a DateTime parameter to the value DateTime.Now, what will my request look like ? UPDATE table SET …

  10. Add timestamp column with default NOW () for new rows only

    Is there a way I can add a timestamp column with default value NOW () so that it won't populate the values to previous rows but only for the future ones? If I do the ALTER query, it populates …