Explore the difference between .getTime(), .toTimeString(), and .toLocaleTimeString(). Use [[Now.toLocaleTimeString()]] to display the time right now.
- Axure has a few different variables we can use…to work with time.…So if we've got something in one of our prototypes,…where we wanna show the real time or work…with time dynamically, we'll be able to do that.…I've got a sample prototype set up here…in my save changes exercise file…and it's got a couple of buttons in it down here.…If we preview and click this save changes button here,…it's showing us the time that we last saved.…But right now, this time is just static text.…So what we'll do now is pull the time dynamically…using variables so that we can show the actual time here…and make our prototype seem just a little more realistic.…
So let's go into our prototype now…and see how we can do this.…We'll click to get into this main content panel…and then click the save changes button…to get into this OnClick event.…That's where we're showing that last saved label.…So what I'll do now is add a set text action…so that we can set the text before we show that text label.…We'll drag that up at the top here…so we can set the text before it shows.…
- Using variables in Axure
- String methods in Axure
- Truncating text strings
- Formatting dates and times
- Setting up a looping animation
- Setting up a responsive background image
- Positioning widgets in the browser
- Repeater and item properties
Skill Level Advanced
1. Widget Properties
3. Dates and Times
4. Window Properties
5. Repeater and Item Properties
6. Global Variables
Global variables2m 14s
Using plugins on Axure Share2m 49s
8. When Things Go Wrong
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.