fork(2) download
  1. f=@(c)datestr(c,'HHMM')
  2.  
  3. f('11:34 AM')
  4. f('11:34 PM')
Success #stdin #stdout 0.25s 103744KB
stdin
Standard input is empty
stdout
f =

@(c) datestr (c, 'HHMM')

ans = 1134
ans = 2334