Post Reply 
Problems with INPUT, need some help
07-12-2022, 11:55 AM
Post: #1
Problems with INPUT, need some help
I have a simple INPUT, of date items and one real item.
The last is the variable GMT.
How should I change the INPUT so the GMT change will be work.

Cheers,
Jan

Code:
EXPORT Test_Input()
BEGIN
  LOCAL jaar :=floor(Date),
  LOCAL maand:=floor((Date-floor(Date))*100);
  LOCAL dag  :=floor((Date*100-floor(Date*100))*100);
  LOCAL GMT  := -2; // Amsterdam at summertime
  INPUT({jaar,maand,dag,GMT},"Date",{"Year?","Month?","Day?","GMT?"},{"Year","Month","Day","GMT"}, {Date,Date,Date,Date});

  PRINT();
  PRINT("jaar:"+jaar);
  PRINT("maand:"+maand);
  PRINT("dag:"+dag);
  PRINT("GMT:"+GMT);
END;
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Problems with INPUT, need some help - Powersoft - 07-12-2022 11:55 AM



User(s) browsing this thread: 1 Guest(s)