DATETONUMBER - Converting a Date into a 13-Digit Timestamp

  • Last update: May 21, 2025
  • Overview

    Syntax

    DATETONUMBER(text/date)

    Returns the number of milliseconds from January 1, 1970 00:00:00 GMT to the specified date.

    Parameter 1

    text/date

    Data to be converted

    Type of the Returned Value

    Value

    Notes

    The function supports one parameter of the text or date type.

    If any parameter is set to NULL, the result is NULL.

    Example

    Formula
    ResultNote

    DATETONUMBER(TODATE("2008-08-08"))

    1218124800000


    For example, add a New Calculation Column operator in the Data Transformation node, and input the formula DATETONUMBER(Registration_Time) to convert the date-type data in Registration_Time data into timestamps, as shown in the following figure.

    3-1.png

    The following figure shows the result.

    3-2.png

    附件列表


    主题: Data Development - Scheduled Task
    Previous
    Next
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    10s後關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy