# Digital Clock Help

**URL:** <https://forum.kirupa.com/t/digital-clock-help/106793>\
**Category:** Uncategorized\
**Created:** [April 8, 2004, 9:41pm UTC](https://forum.kirupa.com/t/digital-clock-help/106793 "2004-04-08T21:41:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![CoDe\_ReD](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/code_red/32/336_2.png) [@CoDe\_ReD](https://forum.kirupa.com/u/CoDe_ReD)\
**Post date:** [April 8, 2004, 9:41pm UTC](https://forum.kirupa.com/t/digital-clock-help/106793/1 "2004-04-08T21:41:18Z")

</div>

Ok so I’ve tried to create this digital clock according to the wonderfull (and buggy) tutorial on [kirupa.com](http://kirupa.com) ([http://www.kirupa.com/developer/actionscript/digital\_clock.htm](http://www.kirupa.com/developer/actionscript/digital_clock.htm)). I have ajusted it a little bit. (Added september and translated it into dutch)  
When I use this actionscript on my date and day movie:

```auto

onClipEvent (load) {
    mon = ["Januari", "Februari", "Maart", "April", "Mei", "Juni", "Juli", "Augustus", "September", "Oktober", "November", "December"];
    weekdays = ["Zondag", "Maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrijdag", "Zaterdag"];
}
onClipEvent (enterFrame) {
    now = new Date();
    nDay = weekdays[now.getDay()];
    nMonth = mon[now.getMonth()];
    nDate = now.getDate();
    nYear = now.getFullYear();
    displayDate = +nDate+" "nMonth+", "+nYear;
    displayDay = nDay;
}

```

I get the following error:

Scene=Scene 1, Layer=Date, Frame=105: Line 11: ‘;’ expected  
displayDate = +nDate+" “nMonth+”, "+nYear;

Could someone help me with this?

Thnx in adv.
