Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

We Value Your Feedback!
Could you please spare a few minutes to share your thoughts on Cloud Connected vs On-Premise Services. Your feedback can help us shape the future of services.
Learn more about the survey or Click here to Launch the survey
Schneider Electric Services Innovation Team!

Get Data in UTC Format

EcoStruxure Geo SCADA Expert Forum

Schneider Electric support forum about installation, configuration, integration and troubleshooting of EcoStruxure Geo SCADA Expert (ClearSCADA, ViewX, WebX).

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • Remote Operations
  • EcoStruxure Geo SCADA Expert Forum
  • Get Data in UTC Format
Options
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
sbeadle
Kirk sbeadle Kirk
308
AndrewScott
Admiral AndrewScott
98
BevanWeiss
Spock BevanWeiss
91
AdamWoodlandToo
Lt. Commander AdamWoodlandToo
37
View All
Related Products
product field
Schneider Electric
EcoStruxure™ Geo SCADA Expert

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Back to EcoStruxure Geo SCADA Expert Forum
abdullah123456789
Lt. Commander abdullah123456789
Lt. Commander

Posted: ‎2022-06-29 06:56 AM . Last Modified: ‎2023-05-02 11:55 PM

0 Likes
6
1562
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2022-06-29 06:56 AM . Last Modified: ‎2023-05-02 11:55 PM

Get Data in UTC Format

When i tried to export data in csv format i get data in local time of my computer but I need to get time information in UTC format for csv file extension. Could you help me about this situation?

 

I also attached example file at bottom.

 

UTC.PNG

 

 

i am sharing the SQL query i am using.

 

 

 

SELECT
FORMATVALUE( "CurrentTime" USING 'yyyy-MM-dd HH:mm:SS') as "~ Record Time", "WLM_ID","CurrentValueAsReal", "CurrentQuality"

FROM
CDBPoint

WHERE
"WLM_ID" <> ''

  • Tags:
  • english
Reply
Contact Support

Link copied. Please paste this link to share this article on your social media post.

  • All forum topics
  • Previous Topic
  • Next Topic
Replies 6
CraigEl
Administrator CraigEl Administrator
Administrator

Posted: ‎2022-06-29 05:18 PM

0 Likes
1
1529
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2022-06-29 05:18 PM

What Product does this question relate to?

  • Tags:
  • english
Reply
Contact Support

Link copied. Please paste this link to share this article on your social media post.

abdullah123456789
Lt. Commander abdullah123456789
Lt. Commander

Posted: ‎2022-06-29 10:42 PM

In response to CraigEl
0 Likes
0
1516
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2022-06-29 10:42 PM

I get this problem in Geo SCADA Expert 2021.

  • Tags:
  • english
Reply
Contact Support

Link copied. Please paste this link to share this article on your social media post.

AndrewScott
Admiral AndrewScott
Admiral

Posted: ‎2022-06-30 04:06 AM

0 Likes
3
1484
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2022-06-30 04:06 AM

You've not specified how you're doing the export, but I assume you're using the SQL export driver. rather than a custom application or Microsoft Excel.

The SQL export driver doesn't allow the time zone to be specified. For 'raw' times it outputs them in UTC, for times converted to strings the query processor converts them to local time during the conversion, and then returns the resulting text to the SQL export driver.

 

The following query should return the times in UTC but using the default formatting:

SELECT
    "CurrentTime", "WLM_ID", "CurrentValueAsReal", "CurrentQuality"
FROM
    CDBPoint
WHERE
    "WLM_ID" <> ''

 


Andrew Scott, R&D Principal Technologist, AVEVA
  • Tags:
  • english
  • scada
  • SCADA app
  • SCADA software
  • SCADA tutorial
  • Telemetry and SCADA
Reply
Contact Support

Link copied. Please paste this link to share this article on your social media post.

abdullah123456789
Lt. Commander abdullah123456789
Lt. Commander

Posted: ‎2022-06-30 05:06 AM

In response to AndrewScott
0 Likes
2
1478
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2022-06-30 05:06 AM

Thanks for the help. It worked.

 

Additionally, i am getting the data as in this screenshot,

 

false_format.PNG

 

but i need to get the data as in this screenshot.

 

true_format.PNG

 

In summary i need to get data as YYYY-MM-DD HH:MM:SS

 

Time format should be in UTC, date format should be as in the second screenshot

  • Tags:
  • english
  • scada
  • SCADA app
  • SCADA software
  • SCADA tutorial
  • Telemetry and SCADA
Reply
Contact Support

Link copied. Please paste this link to share this article on your social media post.

AndrewScott
Admiral AndrewScott
Admiral

Posted: ‎2022-06-30 06:52 AM . Last Modified: ‎2022-06-30 06:56 AM

In response to abdullah123456789
0 Likes
1
1463
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2022-06-30 06:52 AM . Last Modified: ‎2022-06-30 06:56 AM

The format of values in the CSV file is determined by the locale that is specified for the SQL export:

Specify the Locale that Geo SCADA Expert is to Apply to the Exported SQL Query Result 

 

I think Polish and Swedish both uses a date-time format of "yyyy-MM-dd HH:mm:ss.SSS"


Andrew Scott, R&D Principal Technologist, AVEVA
  • Tags:
  • english
  • scada
  • SCADA app
  • SCADA software
  • SCADA tutorial
  • Telemetry and SCADA
Reply
Contact Support

Link copied. Please paste this link to share this article on your social media post.

abdullah123456789
Lt. Commander abdullah123456789
Lt. Commander

Posted: ‎2022-06-30 10:44 PM

In response to AndrewScott
0 Likes
0
1431
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2022-06-30 10:44 PM

It worked. Thanks for your support.

  • Tags:
  • english
  • scada
  • SCADA app
  • SCADA software
  • SCADA tutorial
  • Telemetry and SCADA
Reply
Contact Support

Link copied. Please paste this link to share this article on your social media post.

Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

 
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of