Minggu, 10 Maret 2013

Re: [belajar-access] berbeda hitung waktu acces dan excel

 

Wa'alaikum salam wr.wb.

Bang, saya coba di access, pakai immediate window, regional setting Indonesian:

?datediff("m",01/12/2013,01/01/2013)
 0
?datediff("m",dateserial(2013,1,1),dateserial(2013,12,01))
 11
?datediff("d",dateserial(2013,1,1),dateserial(2013,12,01))
 334

Pls check lagi

HAER



2013/3/10 darmawan574 <darmawan574@yahoo.co.id>
assalamu'alaikum wr wb
dear, expert acces mohon pencerahan

a. di acces 2007 untuk hitung selisih tahun : datediff("yyyy";01/12/2013;01/01/2013)&"tahun" hasil 1 tahun.
terus untuk hitung bulan : datediff("m";01/12/2013;01/01/2013)&"bulan" hasil 1 bulan.
dan untuk hitung hari : datediff("m";01/12/2013;01/01/2013)&"hari" hasil 31 hari

b. sedang di excel untuk hitung tahun dan bulan sebagari berikut :
   -  cari tahun =datedif(01/12/2013;01/01/2013;"y") hasilnya 0 tahun
   -  cari bulan =datedif(01/12/2013;01/01/2013;"ym") hasilnya 1 bulan
   -  cari hari =datedif(01/12/2013;01/01/2013;"md") hasilnya 0 hari

pertanyaan :
bagaimana agar perhitungan fungsi selisih tahun, bulan, dan hari di acces agar hasil seperti diexcel.

atas bantuan senior diucapkan terima kasih
 wasslam






------------------------------------

SPAM IS PROHIBITEDYahoo! Groups Links

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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/belajar-access/join
    (Yahoo! ID required)

<*> To change settings via email:
    belajar-access-digest@yahoogroups.com
    belajar-access-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    belajar-access-unsubscribe@yahoogroups.com

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




--


Haer Talib

RumahAccess Indonesia
Tempatnya Belajar Microsoft Access
Artikel | Forum | Milis | Download | Training | Links | Blog | Event


__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (2)
Recent Activity:
SPAM IS PROHIBITED
.

__,_._,___

Tidak ada komentar:

Posting Komentar