Subject RE: DATE display
From Mustansir Ghor <mustan31@hotmail.com>
Date Sun, 17 Mar 2019 09:41:34 -0400
Newsgroups dbase.getting-started
Attachment(s) Capture1.PNG

Dear All

Hello everyone.

I am using following in form open  method to store default dates. However there appears time in the object rpdate1 besides date. Is there a way we can eliminate this. Attach pls find the capture photo

    function form_onOpen()  
           this.rpdate2.value=date()
        this.rpdate1.value= new date(this.rpdate2.value.year,this.rpdate2.value.month,1)
    return