try use PARSE t-sql function

SELECT PARSE(timestamp AS date USING 'Ru-RU') from table

Answer from user12116884 on Stack Overflow
๐ŸŒ
W3Schools
w3schools.com โ€บ sql โ€บ func_sqlserver_convert.asp
SQL Server CONVERT() Function
String Functions: ASCII CHAR_LENGTH ... STR_TO_DATE SUBDATE SUBTIME SYSDATE TIME TIME_FORMAT TIME_TO_SEC TIMEDIFF TIMESTAMP TO_DAYS WEEK WEEKDAY WEEKOFYEAR YEAR YEARWEEK Advanced Functions: BIN BINARY CASE CAST COALESCE CONNECTION_ID CONV CONVERT CURRENT_USER DATABASE IF IFNULL ISNULL LAST_INSERT_ID NULLIF SESSION_USER SYSTEM_USER USER VERSION SQL Server Functions ยท String Functions: ...
Discussions

sql server convert date to string MM/DD/YYYY - Stack Overflow
I am using SQL Server 2008. I have the following: select convert(varchar(20),fmdate) from Sery How do I convert the date to string such that it show as MM/DD/YYYY More on stackoverflow.com
๐ŸŒ stackoverflow.com
How do I format a date or convert a date to a specific string?
the default format for the dates in my database is MM/DD/YYYY (01/02/2021) Except it isn't. All date & time data types in SQL Server are stored as binary data, not as strings. They have no "format" - formatting is done by the client application (yes, even SSMS). When you enter a date like 01/02/2021 in an application, the application or SQL Server is making a guess about what you mean based on regional settings and possibly other factors. Unless you're storing your dates as strings. If you're doing that, we gotta have a chat. But like u/IHeartBadCode said, you really need a date table to do this kind of lookup/translation, not code embedded in a query. More on reddit.com
๐ŸŒ r/SQL
6
4
June 23, 2021
Convert Text to Date DataType โ€“ SQLServerCentral Forums
I need this because i am using ... to be in Date DT. ... SSC Eights! ... yes i can do that but,how will sql know that my text is in dd/mm/yyyy format and not in mm/dd/yyyy or smthing else. ... yes i can do that but,how will sql know that my text is in dd/mm/yyyy for and not in mm/dd/yyyy or smthing else. ... The third value in the convert statement tells SQL Server the string value of the ... More on sqlservercentral.com
๐ŸŒ sqlservercentral.com
August 14, 2012
sql server - How to convert a datetime to string in T-SQL - Stack Overflow
I think you're actually working too hard here. SQL Server has implicit string equivalents for DATETIME2. What you're actually doing here is utilizing the implicit conversion and then formatting the resulting string, not the datetime. 2019-01-23T20:19:20.18Z+00:00 ... @JamieMarshall more or less. MSDN suggests: Use the FORMAT function for locale-aware formatting of date/time and number values as strings. For general data type conversions, use CAST or CONVERT... More on stackoverflow.com
๐ŸŒ stackoverflow.com
๐ŸŒ
Microsoft Learn
learn.microsoft.com โ€บ en-us โ€บ sql โ€บ t-sql โ€บ functions โ€บ cast-and-convert-transact-sql
CAST and CONVERT (Transact-SQL) - SQL Server | Microsoft Learn
For more information, see Nondeterministic conversion of literal date strings into DATE values. Starting with SQL Server 2012 (11.x), when using supplementary character (SC) collations, a CAST operation from nchar or nvarchar to an nchar or nvarchar type of smaller length won't truncate inside a surrogate pair.
๐ŸŒ
SQL Shack
sqlshack.com โ€บ sql-server-functions-for-converting-string-to-date
SQL Server functions for converting a String to a Date
May 21, 2021 - Additionally, you can read more about implicitly converting date types in SQL Server, by referring to this article: Implicit conversion in SQL Server. The second approach for converting data types is the explicit conversion which is done by using some functions or tools. In SQL Server, converting a string to date explicitly can be achieved using CONVERT().
๐ŸŒ
SQL Tutorial
sqltutorial.org โ€บ home โ€บ sql date functions โ€บ sql convert date to string functions
SQL Convert Date to String Functions: CAST() and TO_CHAR()
April 4, 2020 - The CAST() function returns a string that represents the date. The following statement returns the current date and time as a date and as a string: SELECT CURRENT_TIMESTAMP 'date', CAST(CURRENT_TIMESTAMP AS VARCHAR) 'date as a string'; Code language: SQL (Structured Query Language) (sql)
Find elsewhere
๐ŸŒ
SQLServerCentral
sqlservercentral.com โ€บ forums โ€บ topic โ€บ convert-text-to-date-datatype
Convert Text to Date DataType โ€“ SQLServerCentral Forums
August 14, 2012 - I need this because i am using this query in SSRS and when i export the result to excel it needs to be in Date DT. ... SSC Eights! ... yes i can do that but,how will sql know that my text is in dd/mm/yyyy format and not in mm/dd/yyyy or smthing else. ... yes i can do that but,how will sql know that my text is in dd/mm/yyyy for and not in mm/dd/yyyy or smthing else. ... The third value in the convert statement tells SQL Server the string value of the data/time is in dd/mm/yyyy format.
๐ŸŒ
InfluxData
influxdata.com โ€บ home โ€บ how does date conversion work in sql? | influxdata
How Does Date Conversion Work in SQL? | InfluxData
October 6, 2023 - Letโ€™s assume you want to change this string โ€˜12-12-2023โ€™ to a date. ... Similarly, you can also use CAST to extract the date from your current date and time. ... Another function is CONVERT, an in-built function that allows users to convert an expression from one data type to another.
๐ŸŒ
SQLServerCentral
sqlservercentral.com โ€บ blogs โ€บ sql-server-vs-oracle-convert-string-to-date-1
SQL Server vs Oracle: Convert string to date โ€“ SQLServerCentral
August 11, 2017 - Each of these functions is meant to be paired with the matching data type so you get just what you want. To go along with these you also have the ISDATE() function which tests the value to be sure itโ€™s a date. CONVERT() is straight forward but thereโ€™s a catch. Letโ€™s say you want to convert a string of โ€œMMDDYYโ€ to date.
๐ŸŒ
DotFactory
dofactory.com โ€บ sql โ€บ convert-string-to-datetime
SQL Convert String to DATETIME
SELECT CONVERT(DATETIME, '2022-04-28') AS Datetime Try it live ... If no time is specified, it will be set to 00:00:00.000. CONVERT and TRY_CONVERT can convert string values to datetime.
๐ŸŒ
W3Schools
w3schools.com โ€บ sql โ€บ func_mysql_str_to_date.asp
MySQL STR_TO_DATE() Function
String Functions: ASCII CHAR_LENGTH ... STR_TO_DATE SUBDATE SUBTIME SYSDATE TIME TIME_FORMAT TIME_TO_SEC TIMEDIFF TIMESTAMP TO_DAYS WEEK WEEKDAY WEEKOFYEAR YEAR YEARWEEK Advanced Functions: BIN BINARY CASE CAST COALESCE CONNECTION_ID CONV CONVERT CURRENT_USER DATABASE IF IFNULL ISNULL LAST_INSERT_ID NULLIF SESSION_USER SYSTEM_USER USER VERSION SQL Server Functions ยท String Functions: ...
๐ŸŒ
Databricks
community.databricks.com โ€บ t5 โ€บ get-started-discussions โ€บ convert-string-date-to-date-after-changing-format โ€บ td-p โ€บ 39292
Convert string date to date after changing format - Databricks Community - 39292
August 8, 2023 - I changed their format into 'MM/DD/YYYY' using DATE_FORMAT() function. ... DATE_FORMAT() returns a string with with the format 01/14/2000. Now when I am trying to convert this string back to date with the same format using TO_DATE function, I am getting 2000-01-14 instead of 01/14/2000.
๐ŸŒ
Snowflake Documentation
docs.snowflake.com โ€บ en โ€บ sql-reference โ€บ functions โ€บ to_date
TO_DATE , DATE | Snowflake Documentation
The display format for dates in the output is determined by the DATE_OUTPUT_FORMAT session parameter (default YYYY-MM-DD). If the format of the input parameter is a string that contains an integer: After the string is converted to an integer, the integer is treated as a number of seconds, ...
๐ŸŒ
Oracle
forums.oracle.com โ€บ ords โ€บ apexds โ€บ post โ€บ convert-random-string-to-date-format-8534
Convert random string to date format - Oracle Forums
November 10, 2022 - Hello Experts, I would like to ask help on how to convert the string sample below to a date format. select * from ficticious_table; ID LNAME FNAME HIRE_STR 100 Smith John HIREA...
๐ŸŒ
MSSQLTips
mssqltips.com โ€บ home โ€บ sql date format examples using convert function
SQL Date Format Examples using SQL CONVERT Function
September 26, 2025 - --SELECT a datetime column as a string formatted dd/mm/yyyy (4 digit year) SELECT TOP 3 CONVERT(CHAR(10), ExpectedDeliveryDate, 103) ExpectedDeliveryDateFormattedAsText FROM Purchasing.PurchaseOrders WHERE OrderDate < @Datetime; --SELECT a datetime column as a string formatted dd/mm/yy (2 digit year) SELECT TOP 3 CONVERT(CHAR(8), ExpectedDeliveryDate, 3) ExpectedDeliveryDateFormattedAsText FROM Purchasing.PurchaseOrders WHERE OrderDate < @Datetime; Once the query runs, review SQL CONVERT output as shown below.
๐ŸŒ
SQLines
sqlines.com โ€บ sql-server-to-mariadb โ€บ convert_string_datetime
CONVERT Datetime to String - SQL Server to MariaDB Migration - SQLines Tools
In SQL Server you can use CONVERT function to convert a DATETIME value to a string with the specified style (string format). In MariaDB you can use the DATE_FORMAT function. SQL Server: -- 3rd parameter specifies 112 style (Date 'YYYYMMDD' format) SELECT CONVERT(CHAR(8), GETDATE(), 112); # 20170406