select: support converting time value