Subject Re: DATE display
From Mervyn Bick <invalid@invalid.invald>
Date Sun, 17 Mar 2019 17:17:19 +0200
Newsgroups dbase.getting-started

On 2019-03-17 3:41 PM, Mustansir Ghor wrote:
> 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
>

this.rpdate1.value= dttod(new
date(this.rpdate2.value.year,this.rpdate2.value.month,1))

Mervyn.