Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

CIW 1D0-735 Exam - Topic 12 Question 92 Discussion

Actual exam question for CIW's 1D0-735 exam
Question #: 92
Topic #: 12
[All 1D0-735 Questions]

Laurie has been instructed to add code to a Web page to display the date and time when the document was last updated Which code should she use?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

0/2000 characters
Jeffrey
1 day ago
The last_modified() function should do the trick.
upvoted 0 times
...
Sharita
6 days ago
I think we should use `document.lastModified` directly in the HTML, but I’m not confident about how to display it properly.
upvoted 0 times
...
Earnestine
11 days ago
I feel like we might need to format the date using `Date()` in JavaScript, but I could be mixing it up with another example.
upvoted 0 times
...
Teri
1 month ago
I remember a practice question where we had to use `document.lastModified`, but I can't recall if that's the right approach here.
upvoted 0 times
...
Cecily
1 month ago
I think we need to use JavaScript to get the last updated date, but I'm not entirely sure about the exact syntax.
upvoted 0 times
...
Franchesca
1 month ago
Okay, let me think this through. I'd probably start by researching how to get the last modified date in JavaScript, and then figure out how to display that on the page. Gotta love these tricky little exam questions!
upvoted 0 times
...
Glenn
2 months ago
I'm a bit confused on this one. Is there a specific function or method we're supposed to use, or can we kind of approach it however we want?
upvoted 0 times
...
Margart
2 months ago
Ooh, I think I remember learning about this in class. Isn't there an HTML attribute you can use to display the last updated date?
upvoted 0 times
...
Coral
2 months ago
Ugh, I'm not super familiar with JavaScript. Maybe I could try using a server-side language like PHP to get the file's last modified timestamp?
upvoted 0 times
...
Glenn
2 months ago
Hmm, this seems straightforward. I'd probably start by looking into the JavaScript Date object and see if there's a way to get the last modified date.
upvoted 0 times
...

Save Cancel