Skip to content

Commit 5a06cf9

Browse files
docs: refer to instructions for going about getter method
Co-authored-by: Cool-Katt <[email protected]>
1 parent 0770f14 commit 5a06cf9

File tree

1 file changed

+1
-1
lines changed
  • exercises/concept/appointment-time/.docs

1 file changed

+1
-1
lines changed

exercises/concept/appointment-time/.docs/hints.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
- You need to create a new date. The introduction elaborates on the different ways.
66
- `Date.now()` gives you current time in milliseconds
7-
- `Date` has several getter methods to get date components - months, hours, etc. - for a given date. `getMinutes`, for instance, returns the minutes component.
7+
- `Date` has several getter methods, listed in the introduction, to get date components. Can you use one of those methods?
88
- Likewise, `Date` has several setter methods to set those components, rolling over into "higher" components if needed. `setMinutes(80)`, for example, will increase the hours component by one and set the minutes component to 20.
99

1010
## 2. Convert a date into a timestamp

0 commit comments

Comments
 (0)