diff --git a/core/src/components/datetime/datetime-util.ts b/core/src/components/datetime/datetime-util.ts
index 6a18709ca0..865d6af6c2 100644
--- a/core/src/components/datetime/datetime-util.ts
+++ b/core/src/components/datetime/datetime-util.ts
@@ -6,7 +6,7 @@
export function getDateValue(date: DatetimeData, format: string): number {
const getValue = getValueFromFormat(date, format);
- if (getValue) { return getValue; }
+ if (getValue !== undefined) { return getValue; }
const defaultDate = parseDate(new Date().toISOString());
return getValueFromFormat((defaultDate as DatetimeData), format);
diff --git a/core/src/components/datetime/test/basic/index.html b/core/src/components/datetime/test/basic/index.html
index cbbaa87efc..2dce84bfd7 100644
--- a/core/src/components/datetime/test/basic/index.html
+++ b/core/src/components/datetime/test/basic/index.html
@@ -99,6 +99,11 @@
+
+ HH:mm (initial value 00:00)
+
+
+
h:mm a