LSDB Building
diff --git a/utility.c b/utility.c
index 420a911..ed22483 100644
--- a/utility.c
+++ b/utility.c
@@ -61,6 +61,12 @@
 
 	return component;
 
+}
 
-
+long int 
+get_current_time_sec(void)
+{
+	struct timeval now;
+	gettimeofday(&now,NULL);
+	return now.tv_sec;
 }