Blogs about: Getdate

Featured Blog

What are differences between Difference Between CURRENT_TIMESTAMP and GETDATE ()?

hemanthvanal wrote 1 month ago: Hi All, select getdate(),current_Timestamp Both of them returns the same value. Now let us go to nex … more →

Tags: SQL Server, CURRENT_TIMESTAMP

Javascript Date - add days from now

juanmatiasdelacamara wrote 6 months ago: This is an amazing Javascript Date reference. Check it out: http://www.hunlock.com/blogs/Javascript_ … more →

Tags: languages, javascript, English, develop, Web development, Date, time, Add Days, Days

Calculate weekly, fortnightly, monthly dates between two dates

Dipan wrote 8 months ago: I wanted to share a function to calculate Weekly, Fortnightly, Monthly, 3 Months dates between two d … more →

Tags: C#, calculate dates, weekly, Fortnightly, Monthly, datetime, TimeSpan

Get Date in Java

uDjo wrote 1 year ago: I’ll give you 2 example. Example 1: SimpleDateFormat df = new SimpleDateFormat("dd/MM/yyy … more →

Tags: Programming, Java, Date, time, getTime

Date and Time Functions in SQL Server 2008

lindaf10 wrote 1 year ago: Higher-Precision System Date and Time Functions  SYSDATETIME Returns a datetime2(7) value that conta … more →

Tags: SQL, SQL, Date, time, function, SYSDATETIME, sysdatetimeoffset, SYSUTCDATETIME, CURRENT_TIMESTAMP

How to add/subtract days from a date - TSQL

Vishal wrote 2 years ago: To add or subtract days from a date, you can simply use: – © 2011 – Vishal (http://SqlAn … more →

Tags: SQLSERVER, SQLServer 2005, SqlServer 2008, SQLServer 2008 R2, Database, date add, date math, date substract, DateAdd

SQL – How to get the day of the week

Rob Bamforth wrote 2 years ago: Using the DATEPART function to calculate the integer value of the day of the week. select datepart(d … more →

Tags: SQL, SQL Server, Date, DATEPART, datename, day of week, dayofweek

Date manipulation1 comment

Amin Jaffer wrote 2 years ago: For SQLServer using arthemetic and DATEADD one can modify date select getdate() -- today , … more →

Tags: SQL Server, Date, Manipulation

UDF | User Defined Functions - Scalar, ITV, MTV5 comments

manub22 wrote 2 years ago: UDF or User Defined Functions are a set or batch of code where one can apply any SQL logic and retur … more →

Tags: differences, Computed Column, DateAdd, deterministic, Inline, Multistatement, non-deterministic, Output, scalar

SQL Server 2005 | Add days, months and years to GetDate()

Clive Ciappara wrote 2 years ago: To get the current date in Sql Server queries and stored procedures, you use the GetDate() method. B … more →

Tags: Microsoft SQL Server, Utilities, Microsoft, Design and Development, Development Tools, SQL Server 2005, SQL Server 2008, Add One Day to GetDate(), Add one month

SQL - Formatting and comparing dates

blahblogittyblah wrote 2 years ago: When comparing dates it is important to remember that the DATETIME format has a timestamp that is in … more →

Tags: SQL SELECT Statements, select, SQL, datetime, cast, Convert, float, format

SQL - Date Formats - GETDATE() examples

Rob Bamforth wrote 2 years ago: The following table shows some of the most common date formats available using the SQL function GETD … more →

Tags: SQL, Date, date format

The GETDATE() of MDX3 comments

devmau5 wrote 3 years ago: I have been repeatedly asked to produce queries in MDX across a number of SSAS cubes that use the qu … more →

Tags: Analysis Services (SSAS), datetime, Dimensions, MDX, SQL Server 2008, Tips and Tricks, current, Date, Dimension

SQL getdate() without time

RJ wrote 3 years ago: The SQL getdate() function returns the current date along with the current time, as shown below 2010 … more →

Tags: SQL Server, floor, current date

Built-in functions

Amin Jaffer wrote 3 years ago: — SQL server version SELECT @@version output: Microsoft SQL Server 2005 – 9.00.1399.06 ( … more →

Tags: SQL Server, Version, current user, host_name, Username, sysdate, ROWCOUNT, SERVERNAME, owner sid

Retrieve Current Date Time in SQL Server CURRENT_TIMESTAMP, GETDATE(), {fn NOW()}

witssquare wrote 3 years ago: There are three ways to retrieve the current datetime in SQL SERVER. CURRENT_TIMESTAMP, GETDATE(), { … more →

Tags: SQL Server, CURRENT_TIMESTAMP, datetime, Reterive Current datetime, {fn NOW()}

SQL – How To get The Current Date Using GetDate()

Rob Bamforth wrote 3 years ago: The getDate() function is used to generate the current date. print getDate() This can be used with v … more →

Tags: SQL, Date, get-date

Colocando um script em espera

silasmendes wrote 3 years ago: Uma dica rápida antes do feriadão: Como agendar um script ou executá-lo de forma recorrente sem util … more →

Tags: dica rapida, Programação, SQL SERVER 2000, SQL SERVER 2005, SQL SERVER 2008, SQL SERVER 2008 R2, SQL Server 7, DBCC, logspace

Retrieve rows for the last 3 months

Swetha Sankaran wrote 3 years ago: Retrieving rows for the last 3 months: This query is for retrieving the last 3 months data from sql … more →

Tags: SQL Server, SQL, Rows, retrieval, Period, DATEPART


Related Tags
All →

Follow this tag via RSS