summaryrefslogtreecommitdiffstats
path: root/util/src/rand.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/src/rand.c')
-rw-r--r--util/src/rand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/src/rand.c b/util/src/rand.c
index c3a7aa9..44057a8 100644
--- a/util/src/rand.c
+++ b/util/src/rand.c
@@ -57,7 +57,7 @@ axutil_rand_get_seed_value_based_on_time(
axutil_date_time_t *date = axutil_date_time_create(env);
unsigned int rand_var = axutil_date_time_get_year(date, env);
rand_var += axutil_date_time_get_month(date, env);
- rand_var += axutil_date_time_get_date(date, env);
+ rand_var += axutil_date_time_get_day(date, env);
rand_var += axutil_date_time_get_hour(date, env);
rand_var += axutil_date_time_get_minute(date, env);
rand_var += axutil_date_time_get_second(date, env);