Returns the current time (without a date) based on the specified timezone.
TIMEDiperbarui: 13 Jun 2026CURRENT_TIME([time_zone])Timezone string.
1 SELECT 2 CURRENT_TIME() as now, 3 CURRENT_TIME('Asia/Jakarta') as jakarta_time, 4 CURRENT_TIME('UTC') as utc_time;
Get the current time in different timezones.
| now | jakarta_time | utc_time |
|---|---|---|
| 14:30:00 | 21:30:00 | 14:30:00 |
1 SELECT 2 CASE 3 WHEN CURRENT_TIME('Asia/Jakarta') BETWEEN '09:00:00' AND '17:00:00' 4 THEN 'Open' 5 ELSE 'Closed' 6 END as store_status;
Check whether the current time falls within business operating hours.
Sudah paham CURRENT_TIME? Latih langsung di browser
Latihan interaktif, langsung di browser.