web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Current date and time ...
Power Apps
Answered

Current date and time field (NOT LOCAL) Now()

(0) ShareShare
ReportReport
Posted on by 66

Hello everyone, I am making an attendance registration system and I want to obtain the CURRENT date in a variable but not that of the local computer, I want the internet time so that they do not deceive me by modifying the time on their computer, how can I obtain it by please thank you very much

 

GerardoPlass_0-1657396253593.pngGerardoPlass_1-1657396261770.png

 

Categories:
  • Verified answer
    WarrenBelz Profile Picture
    156,963 Most Valuable Professional on at

    Hi @GerardoPlass ,

    This will return UTC time on any computer anywhere in the world.

    DateAdd(
     Now(),
     TimeZoneOffset() / 60,
     Hours
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

  • Gerardoplass Profile Picture
    66 on at

    Thanks @WarrenBelz  The solution helped me a lot, just one more query, what is the correct syntax to apply my date format?

    help me please

    GerardoPlass_0-1657468096167.png

     

  • Gerardoplass Profile Picture
    66 on at

    I was able to solve it thanks

     

    GerardoPlass_0-1657469955647.png

     

  • WarrenBelz Profile Picture
    156,963 Most Valuable Professional on at

    Hi @GerardoPlass ,

    Like this

    If(
     Checkbox2.Value,
     Text(
     DateAdd(
     Now(),
     TimeZoneOffset() / 60 - 5,
     Hours
     ),
     "[$-es-ES]dd/mm/yyyy hh:mm:ss"
     )
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 221 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 120

Last 30 days Overall leaderboard