# Get date

**URL:** <https://forum.kirupa.com/t/get-date/209222>\
**Category:** Uncategorized\
**Created:** [December 6, 2006, 9:19pm UTC](https://forum.kirupa.com/t/get-date/209222 "2006-12-06T21:19:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![FedEx](https://avatars.discourse-cdn.com/v4/letter/f/dc4da7/32.png) [@FedEx](https://forum.kirupa.com/u/FedEx)\
**Post date:** [December 6, 2006, 9:19pm UTC](https://forum.kirupa.com/t/get-date/209222/1 "2006-12-06T21:19:47Z")

</div>

Hi, i have the following code

var currDate = new Date()  
var day = currDate.getDay()  
var month = String(currDate.getMonth())  
this.currDate\_txt.text = day+"/"+month

It is upposedto display the date but it is displaying something that does not correspond with todays date. It should get ony day and month.

Help is welcome.
