diff --git a/services/src/main/java/org/keycloak/services/resources/admin/AdminEventBuilder.java b/services/src/main/java/org/keycloak/services/resources/admin/AdminEventBuilder.java index 496d7c10f1..305d6f7e55 100644 --- a/services/src/main/java/org/keycloak/services/resources/admin/AdminEventBuilder.java +++ b/services/src/main/java/org/keycloak/services/resources/admin/AdminEventBuilder.java @@ -240,7 +240,7 @@ public class AdminEventBuilder { if(realm.isAdminEventsDetailsEnabled()) { includeRepresentation = true; } - adminEvent.setTime(Time.toMillis(Time.currentTime())); + adminEvent.setTime(Time.currentTimeMillis()); if (store != null) { try {