Index: /trunk/psModules/src/concepts/pmConceptsStandard.c
===================================================================
--- /trunk/psModules/src/concepts/pmConceptsStandard.c	(revision 11090)
+++ /trunk/psModules/src/concepts/pmConceptsStandard.c	(revision 11091)
@@ -419,5 +419,8 @@
             psList *dateTime = concept->data.V; // The list containing items for date and time
             psMetadataItem *dateItem = psListGet(dateTime, PS_LIST_HEAD); // Item containing the date
-            psMetadataItem *timeItem = psListGet(dateTime, PS_LIST_HEAD + 1); // Item containing the time
+            if (!dateItem) {
+                psError(PS_ERR_UNKNOWN, true, "Date is not found.\n");
+                return NULL;
+            }
             if (dateItem->type != PS_DATA_STRING) {
                 psError(PS_ERR_UNKNOWN, true, "Date is not of type STR.\n");
@@ -453,4 +456,9 @@
             sprintf(dateString,"%04d-%02d-%02d", year, month, day);
 
+            psMetadataItem *timeItem = psListGet(dateTime, PS_LIST_HEAD + 1); // Item containing the time
+            if (!timeItem) {
+                psError(PS_ERR_UNKNOWN, true, "Time is not found.\n");
+                return NULL;
+            }
             psString timeString = NULL; // The string with the time
             if (timeItem->type == PS_DATA_STRING) {
