Advertisement
Guest User

Untitled

a guest
Sep 20th, 2019
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. DEFINE VARIABLE lvcValue AS CHARACTER NO-UNDO.
  3.  
  4.  
  5. lvcValue = ENTRY ( 2,
  6.                        STRING ( sent, "99-99-9999 HH:MM:SS.SSS+HH:MM" ),
  7.                        " "
  8.                ).
  9.  
  10. lvcValue = REPLACE ( sent, ",", "." ).
  11.  
  12. lvcValue = STRING ( YEAR  ( sent ), "9999" )
  13.          + "-"
  14.          + STRING ( MONTH ( sent ), "99"   )
  15.          + "-"
  16.          + STRING ( DAY   ( sent ), "99"   )
  17.          + "T"
  18.          + lvcValue.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement