Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learn Microsoft PowerApps

You're reading from   Learn Microsoft PowerApps Build customized business applications without writing any code

Arrow left icon
Product type Paperback
Published in Nov 2019
Publisher Packt
ISBN-13 9781789805826
Length 560 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Matthew Weston Matthew Weston
Author Profile Icon Matthew Weston
Matthew Weston
Arrow right icon
View More author details
Toc

Table of Contents (25) Chapters Close

Preface 1. Section 1: Getting Started with PowerApps FREE CHAPTER
2. Introducing PowerApps 3. Creating Your First Canvas PowerApp 4. Creating Apps from SharePoint 5. Publishing and Leveraging PowerApps 6. Section 2: Developing Your PowerApp
7. Exploring Controls 8. Exploring Formulas 9. Working with Data 10. Introducing Connectors 11. Section 3: Extending the Capabilities of Your PowerApp
12. Using GPS in PowerApps 13. Working with Images and Barcodes 14. Securing Your PowerApps 15. Working Offline 16. Using Power Automate with PowerApps 17. Using Azure with PowerApps 18. Section 4: Working with Model-Driven Apps
19. Introducing Model-Driven Apps 20. Creating Model-Driven Apps 21. Section 5: Governing PowerApps
22. Exploring Environments within Our Tenancy 23. Assessments 24. Other Books You May Enjoy

Working with dates

PowerApps provides many functions to help us with dates in several different ways. The most basic functions start with how to actually get the current date or date-time. The date or time is displayed when the function is called. So, if you use either the Now or Today functions on a screen deep within your app, you won't get the date-time stamp until the user navigates to that screen.

The first function is Now(), which will return the current date and time. This function, unlike most we have already seen in this chapter, has an empty argument list, therefore you just need to call the function to get the result:

Now()

This function will return a value that is formatted in the ShortDateTime24 format. We will explore date formatting later in this section:

Figure 6.13: Getting the current date and time

The second function, Today, will simply return the current date in ShortDate format:

Today()

Again, there are no arguments related to this function. Let's look...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime