diff --git a/src/helper/jim.c b/src/helper/jim.c
index da0f0180a7b6252d07e5dbbd4060e8c3f201679a..7d5cc2baee53695edc64cf63772c3de63dba4797 100644
--- a/src/helper/jim.c
+++ b/src/helper/jim.c
@@ -12076,7 +12076,7 @@ jim_get_s_us( jim_wide *s, jim_wide *us )
 	tmpres |= ft.dwLowDateTime;
 	/* convert to unix representation */
 	tmpres /= 10;
-	tmpres -= DELTA_EPOC_IN_MICROSECS;
+	tmpres -= DELTA_EPOCH_IN_MICROSECS;
 	
 	*s  = (tmpres / 1000000ULL);
 	*us = (tmpres % 1000000ULL);