Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Unanswered

Job Queue Dispatcher: result of FORMAT function with DateTime value returns different time

Posted on by
Good day,
 
We are using Business Central 14 on-prem, and I’ve encountered an unusual issue with the FORMAT function in the Job Queue Dispatcher. The formatted value of a DateTime variable differs by several hours from its original value.
 
Original DateTime value: 4:59 PM
Result value of FORMAT funciton: 10:29 PM
Discrepancy: 5.5 hours
 

 

 

 

 

 

 

 

 

 

Could you please advise if I might be overlooking an important parameter in the FORMAT function or any other potential cause for this discrepancy?

Thank you in advance for your help!

  • Suggested answer
    Khushbu Rajvi. Profile Picture
    Khushbu Rajvi. 1,795 on at
    Job Queue Dispatcher: result of FORMAT function with DateTime value returns different time
    Suggestion: Set format for the datetime.
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    Khushbu Rajvi. 1,795 on at
    Job Queue Dispatcher: result of FORMAT function with DateTime value returns different time
    Hi, I have run the same, and below is the output. I didn't see any discrepancies in the time.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,558 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,645 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans