# Numbers, Strings, and the Date

**URL:** https://forum.kirupa.com/t/numbers-strings-and-the-date/128403
**Category:** Uncategorized
**Created:** [November 12, 2004, 12:24am UTC](https://forum.kirupa.com/t/numbers-strings-and-the-date/128403 "2004-11-12T00:24:02Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Phlashman](https://avatars.discourse-cdn.com/v4/letter/p/e99b99/32.png) [@Phlashman](https://forum.kirupa.com/u/Phlashman)
#### Post date: [November 12, 2004, 12:24am UTC](https://forum.kirupa.com/t/numbers-strings-and-the-date/128403/1 "2004-11-12T00:24:02Z")

</div>

Sorry for the really simple question, but I forgot something. Let’s say I’m trying to display the date. For the minutes thing, I have:

minutes = my\_date.getMinutes()

First, I think I need to convert that second thing into a string.  
Second, do I need to introduce my date variable earlier? That’s kind of weird.  
Thanks.

By the way, I believe that this AS shows up as undefined. (not NaN, whatever that is).
