Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8338

issue with system time

$
0
0

Hi,

 

 

In one of the z programs I've developed, i have a date & time fields on

 

 

selection screen. 'From date & time' & 'To date & time'.

 

 

I'm directly populating the 'from date & time' in the 'At selection screen'

 

 

event from system date & time I've stored in table TVARVC.

 

 

This date & time is saved in TVARVC just before the program ends so that the

 

 

next time when program runs, we'll have a last-run date & time on the selection

 

 

screen.

 

 

The issue is sometimes my program stores 11:45:60 in TVARVC. When it's about to

 

 

finish a second its displayed like 11:45:60 instead of displaying 11:46:00. When

 

 

such value of time is there on selctions screen and when i try to execute the

 

 

program it displays an error. Error text is "specify time within permitted value

 

 

range". Client doesn't run the program manually, they have a control sheet and a

 

 

fixed timing for execution of each program and automatic execution of program is

 

 

done according to the sheet. So they cannot change the time manually on the

 

 

selection screen.

 

 

Please suggest a solution on this ASAP as the production delivery of this

 

 

program is due  just a week after.


Viewing all articles
Browse latest Browse all 8338


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>