src: datetime: Make datetime_get() return const pointer