About 18,100 results
Open links in new tab
  1. How to correctly convert Unix Timestamp to datetime in SQL

    Oct 26, 2021 · 1 I'm trying to get the date format dd/MM/YYYY or anything readable. actually I have the date data with this format stocked in a string field "1620305130000" I have tried the …

  2. Date format in SQL query - Salesforce Stack Exchange

    Date data types in SFMC are DateTime (or DateTime2) data types behind the scenes, so the time is always included. It's best to use AMPscript to format these, as you can't dictate the format …

  3. Convert a datetime to date in SFMC - Salesforce Stack Exchange

    Mar 17, 2022 · This can be done using the following SQL function (CONVERT): SELECT CONVERT([data type], [value to convert], [style]) The values inside the [] should be replaced …

  4. How to display Month in TEXT format using SQL query in …

    If you are looking to display the full name of the month via the SQL query you have written, I would use the below code - utilizing the FORMAT function inside of SQL: …

  5. marketing cloud - Not able to change date format using SQL date ...

    Dec 27, 2022 · Please update your question to include the data type of OrderDate in the source Data Extension. Also please indicate the data type of of PurchaseDate in the target Data …

  6. marketing cloud - How to create a sql query in SFMC with where …

    Jan 30, 2023 · I am trying to create a query that pulls the record from _open data view before a specific date and time, how to do that in sql? I am currently doing this for defining the date: …

  7. Converting date/time to string in Marketing Cloud's SQL - string …

    Oct 3, 2019 · We are trying to convert a string field to a date field using the CAST function in Marketing Cloud. Our goal is to use the newly converted date records to segment our …

  8. marketing cloud - Add a date field to SQL and convert the …

    Apr 20, 2023 · I have an SQL running off a data view tabe and I need to add the ExtractDate to the target Data extensio.Date field doesn't exist in this Dataview tablem so apart from adding …

  9. Why can't my sms be sent? - Mobile Connect SFMC

    Mar 28, 2025 · Sync data from Sales Cloud (with incorrect format phone numbers) Format the number number with SQL Mobile Import Contact Activity with SQL I get a D.E with correct …

  10. Using query for a specific date - Salesforce Stack Exchange

    May 29, 2017 · According to the documentation article Query: Find Subscribers by Date or Time Frame the date format to use is 'YYYY-MM-DD' so in your case '2017-05-29' should be …