Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Blog
  • Questions
  • Learning
    • E-learning Courses
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Tutorials
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • DataMiner Insights
      • Security
      • Integration Studio
      • System Architecture
      • DataMiner Releases & Updates
      • DataMiner Apps
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

SRM Bookings – DateTime format in Visual Overview

Solved1.33K views7th July 2023booking SRM Visio Visual Overview
9
Ruben Vandepitte [SLC] [DevOps Advocate]2.28K 10th February 2023 0 Comments

On a system where both server and client have the same Regional Settings applied which display a DateTime as 'dd-MM-yyyy HH:mm:ss' (eg 10-02-2023 11:17:00), we see some strange behaviour when generating dynamic booking shapes which include the start and end time of the booking.

More specifically, we see that a few shapes put the day before the month (which is expected) while most of the other shapes do the opposite, even though they use identical shape data. Please see the highlighted parts in the image below:

Follwing shape data is used within the booking grouped shape:

For the start time:

[Sum:[Subtract:[LocalTime],[UTCTime]],[Start]]

For the end time:

[Sum:[Subtract:[LocalTime],[UTCTime]],[End]]

I already tried to force the format using the '|Format=dd-MM-yyyy HH:mm:ss', but that doesn't seem to work.

Note that the 'Start' and 'End' custom booking properties which are referenced in the shape data, are stored like this:

So, there seem to be a lot of variables at play, but perhaps someone can shed some light, or come up with a solution?

Thanks!

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 7th July 2023

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
3
Matthias Declerck [SLC] [DevOps Advocate]2.75K Posted 10th February 2023 4 Comments

Hi Ruben,

"a system where both server and client have the same Regional Settings applied "
Can you verify that is not overridden in client settings of Cube?
Or, perhaps this should be overridden?

I also struggles sometimes with datetime formats when using Sum or Subtract.
Therefore, I also configure a format specifically:

See documentation as well

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 7th July 2023
Ruben Vandepitte [SLC] [DevOps Advocate] commented 10th February 2023

Thanks, I’ve already tried both, but no luck.

I assume ‘Format=dd-MM-yyyy HH:mm:ss’ is valid to use within shape data?

Matthias Declerck [SLC] [DevOps Advocate] commented 10th February 2023

Do not forget to use [sep::^] because the split between sessionkey and sessionvalue is using : as split character, while your format also uses character :

Matthias Declerck [SLC] [DevOps Advocate] commented 10th February 2023

Could you try the following?
For the start time: 

[sep::@][Sum@[sep::@][Subtract@[LocalTime@format=dd-MM-yyyy HH:mm:ss],[UTCTime@format=dd-MM-yyyy HH:mm:ss]],[Start@format=dd-MM-yyyy HH:mm:ss]|Format=dd-MM-yyyy HH:mm:ss] 

For the end time:

[sep::@][Sum@[sep::@][Subtract@[LocalTime@format=dd-MM-yyyy HH:mm:ss],[UTCTime@format=dd-MM-yyyy HH:mm:ss]],[End@format=dd-MM-yyyy HH:mm:ss]|Format=dd-MM-yyyy HH:mm:ss]

Ruben Vandepitte [SLC] [DevOps Advocate] commented 10th February 2023

Tried a few things together with Matthias, but haven’t come to a solution yet. We’ll be looking into a bit of a different approach now.
Thanks for the support!

2
Sebastiaan Dumoulein [SLC] [DevOps Enabler]12.73K Posted 10th February 2023 0 Comments

The format is sometimes different when the number of the day is higher than 12. When it's 12 or below it can be seen as the month.

Placeholders in Visio are passed along using string representations which sometimes need to be parsed back to types.

I suggest to use the ISO 8601 format as that introduces no ambiguity on what is a day and what is a month. See "o" and "s" format: docs.

Sebastiaan Dumoulein [SLC] [DevOps Enabler] Answered question 10th February 2023
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas

Recent questions

How to implement bearer token refresh? 0 Answers | 0 Votes
Web Applications exception in Cube due to invalid certificate 0 Answers | 0 Votes
Redundancy Groups and Alarming – Duplicate Alarms 0 Answers | 0 Votes

Question Tags

adl2099 (115) alarm (62) Alarm Console (82) alarms (100) alarm template (83) Automation (223) automation scipt (111) Automation script (167) backup (71) Cassandra (180) Connector (109) Correlation (69) Correlation rule (52) Cube (151) Dashboard (194) Dashboards (188) database (83) DataMiner Cube (57) DIS (81) DMS (71) DOM (140) driver (65) DVE (56) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (152) low code app (166) low code apps (93) lowcodeapps (75) MySQL (53) protocol (203) QAction (83) security (88) SNMP (86) SRM (337) table (54) trending (87) upgrade (62) Visio (539) Visual Overview (345)
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin