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
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Tutorials
    • 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
    • YouTube Videos
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Agility
      • Learn more about 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)
      • Book your Agile Fundamentals training
      • Book you Kanban workshop
    • >> Go to DataMiner Docs
  • DevOps
    • About the DevOps Program
    • Sign up for the DevOps Program
    • DataMiner DevOps Support
    • Feature Suggestions
  • Downloads
  • Swag Shop
  • PARTNERS
    • Business Partners
    • Technology Partners
  • Contact
    • Sales, Training & Certification
    • DataMiner Support
    • Global Feedback Survey
  • >> Go to dataminer.services

How do I prevent a DateTimePicker default value from being converted to local time in an IAS?

51 views12 hours agointeractive automation script LCA Interactive script DateTimePicker low code app
2
Harun Ibrahimovic [SLC] [DevOps Advocate]176 23 hours ago 0 Comments

We are building an interactive automation script that is launched via Low Code App (LCA). The app converts all datetimes to local time, which is the desired behaviour throughout the app. However, I need the default value only of two DateTimePicker controls (RequestedResolutionDate and ExpectedResolutionDate) to remain fixed at tomorrow 00:00 regardless of the user's timezone. Has anyone found a way to bypass or override the local time conversion just for a default value without affecting the rest of the app's behaviour?

Current implementation:

public DateTimePicker RequestedResolutionDate { get; } = new DateTimePicker
{
DebugTag = DebugTags.RequestedResolutionDate,
DateTime = DateTime.Today.ToUniversalTime().AddDays(1),
Minimum = DateTime.Today.ToUniversalTime().AddDays(1),
};

public DateTimePicker ExpectedResolutionDate { get; } = new DateTimePicker
{
DebugTag = DebugTags.ExpectedResolutionDate,
DateTime = DateTime.Today.ToUniversalTime().AddDays(1),
Minimum = DateTime.Today.ToUniversalTime().AddDays(1),
};

Bautista Solanet [SLC] [DevOps Advocate] Answered question 12 hours ago

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
0
Bautista Solanet [SLC] [DevOps Advocate]843 Posted 12 hours ago 0 Comments

Hey Harun,

I had a similar issue a while ago: IAS - Detect Client TimeZone - DataMiner Dojo.

You can get the Client TimeZone from the DateTimePicker using the ClientDateTime property (Property ClientDateTime | DataMiner Docs) and using that you can find the offset between the server time and the client time and then adjust the time in the background to show the desired time.

Unfortunately, this will require interaction from the User with the UI to determine the Client TimeZone and is only available from DataMiner 10.5.4/10.6.0 onwards so this might not work in this use case.

I hope this helps,

Bauti

Bautista Solanet [SLC] [DevOps Advocate] Answered question 12 hours ago
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
Privacy Policy • Terms & Conditions • Contact

© 2026 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