ID EN
#Date and time

NOW

Excel Functions 🇮🇩 Bahasa Indonesia

Dapatkan tanggal dan waktu saat ini

Return Value

Angka yang mewakili tanggal dan waktu saat ini di Excel.

Details

SEKARANG tidak memerlukan parameter tetapi memerlukan tanda kurung kosong. Nilai yang dikembalikan oleh SEKARANG akan terus diperbarui setiap kali lembar kerja diperbarui, misalnya setiap kali nilai dimasukkan atau diubah. Gunakan F9 untuk memaksa lembar kerja menghitung ulang dan memperbarui nilainya. Nilai yang dikembalikan oleh fungsi SEKARANG adalah tanggal standar Excel, termasuk nilai pecahan waktu. Untuk menampilkan hasilnya sebagai tanggal, terapkan format nomor tanggal. Secara opsional, sesuaikan format angka untuk menyertakan waktu. Jika Anda ingin tanggal sekarang tanpa nilai waktu, gunakan fungsi TODAY. Fungsi SEKARANG mengembalikan tanggal dan waktu saat ini sesuai dengan pengaturan di komputer Anda. Saat saya menulis ini, tanggalnya adalah 22 Juni 2024, tepat setelah jam 10 pagi. Saat saya memasukkan rumus di bawah ini di sel A1, ia mengembalikan t

Contoh

The NOW function explained

The NOW function returns the current date and time according to the settings on your computer. As I write this, the date is June 22, 2024, and it's ju

EXCEL
=NOW() // returns 45465.42441
The NOW function explained

The integer part of the number (45465) is the date (June 22, 2024), and the decimal part of the number (0.42441) is the time (about 10:11 AM). Note th

EXCEL
=NOW() // returns 45465.42721
The NOW function explained

Notice the number has increased slightly. The date (45465) is the same (June 22, 2024), but the time (0.42721) is now about 10:15 AM. The NOW function

EXCEL
"d-mmm-yyyy" // a date like "22-Jun-2024"
"h:mm" // a time like "10:15"
"m/d/yyyy h:mm" // a date and time like "6/22/2024 10:15"
Example - basic usage

The examples below show how the NOW function can be used in various ways:

EXCEL
=NOW()  // current date and time
=NOW()-7  // last week same time
=NOW()+7  // next week same time
=NOW()+90  // 90 days from now
=MROUND(NOW()+90,"1:00")  // 90 days from now to nearest hour
=EDATE(NOW(),3)  // 3 months from now, time removed
=EDATE(NOW(),12)  // 12 months from now, time removed
=EOMONTH(NOW(),-1)+1  // first day of current month
=EDATE(NOW(),6)+MOD(NOW(),6)  // 6 months from now, time preserved
Current time without a date

The NOW function returns the current date and time. However, in some cases, you may want to return only the current time. You can do this by adding th

EXCEL
=MOD(NOW(),1)
Hours and minutes before a specific time

Why would you want to remove the date? One example is the problem of displaying the hours and minutes that remain before a specific time of the day. F

EXCEL
="18:00"-MOD(NOW(),1)

See Also

TODAY TEXT