type Mydate = String { format: "yyyy-MM-dd" }
---
{
    a: |2015-10-01T23:57:59| as String {format: "yyyy" },
    b: |2003-10-01T23:57:59| as Mydate,
    c: in1.a,
    d: in1.a as String {format: "yyyy-MM-dd HH:mm:ss a"},
    e: in1.b as Mydate
}