gimana kalo pake fungsi datediff nya vb?

datediff("d",tanggal,myrs.fields("tglinput").value)

regards.

ps: salam kenal buat semua anggota programmer-vb n met menempuh hidup
baru buat mas vavai.

On 5/6/05, Darsana <[EMAIL PROTECTED]> wrote:
> Netters yth
> Saya membuat aplikasi VB dengan DBMS MySql. Pada jenis field date di MySql
> struktur tanggalnya adalah yyyy-mm-dd. Adakah cara mencari selisih tanggal
> tapa harus memparsing dengan membalikkan dari yyyy-mm-dd menjadi dd-mm-yyyy
> ? Misal begini :
>  
> tanggal=date()
>  
> selisih = tanggal-myrs.fields("tglinput").value
>  
> Hasil yang didapat tida sesuai....help me pls !
>  
> thx
>  
> 
> Untuk keluar dari millis ini, kirim email kosong ke:
> [EMAIL PROTECTED]
> 
> 
> 
> 
> ________________________________
> Yahoo! Groups Links
> 
> To visit your group on the web, go to:
> http://groups.yahoo.com/group/programmer-vb/
>   
> To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
>   
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


-- 
Regards,
[Purwedi Kurniawan]


Untuk keluar dari millis ini, kirim email kosong ke:
[EMAIL PROTECTED]

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/programmer-vb/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Kirim email ke