Skip to main content
New Participant
Nov 24, 2022 2:51 PM UTC
Question

Timestamp value millisecond part automatic conversion

Hi,

I am trying to pass the timestamp value which is of type text in CDT from upstream through webapi. The milliseconds part is getting rounded off automatically

Value from Upstream: 2022-11-21T09:00:56.998992Z

Roundoff Value: 2022-11-21T09:00:57Z

Expected format : %Y-%m-%dT%H:%M:%S.%fZ"

But I need to send the same value from my upstream to my downstream system

Any solution for the above please?

    3 replies

    stefanhelzle0001
    Brainy
    Nov 24, 2022 3:21 PM UTC

    Why not treat it as text?

    New Participant
    Nov 25, 2022 4:42 AM UTC

    Hi Stefan, 

    Timestamp value is of type text in my CDT. Thanks

    New Participant
    Nov 25, 2022 5:26 AM UTC

    It is converting text value too in pv value