投稿済み Sun, 01 Jul 2018 21:18:05 GMT 、投稿者 Davorin Plemenitaš

Hello all,

I have a problem with converting a string value (example: GV_STR_DATE = 24/01/2018) to a date value, so I can fill a GV_DATE and DW_DATE fields which are of Date format. Can someone help me with that. Thank you in advance. 

投稿済み Mon, 02 Jul 2018 09:05:49 GMT 、投稿者 Phil Robson DocuWare Corporation Senior Director Professional Services, Americas

First of all you must enclosed your string in double quotes.

GV_STR_DATE = "24/01/2018"
Then use the CDATE Function:
GV_DATE = CDATE(GV_STR_DATE)

 

Phil Robson
Senior Director Support Americas

フォーラムに投稿するためにはログインが必要です。