I want to less 50 minutes from time =1030
So the answer should come 940
Or if i add 50 minutes then answer should come 1120
How can I do this?
I tried this but no luck
Code: Select all
minutestotime(timetominutes(t-50))
Code: Select all
minutestotime(timetominutes(t-50))
You have to convert that to DateTime first. See this thread for an example/idea.How can I do this?
You have to convert that to DateTime first. See this thread for an example/idea.
Code: Select all
DateTime2ELTime(ELTimeToDateTime(t)-ELTimeToDateTime(60))
Please see post #12Hi,
I want to less 50 minutes from time =1030
So the answer should come 940
Or if i add 50 minutes then answer should come 1120
How can I do this?
I tried this but no luckThanksCode: Select all
minutestotime(timetominutes(t-50))
Code: Select all
minutestotime(timetominutes(t-50))
Code: Select all
minutestotime(timetominutes(time) - 50)
Code: Select all
inputs: XTime( numericsimple ) ;
Value1 = XTime * .01 ;
TimeToMinutes = 60 * IntPortion( Value1 ) + 100 * FracPortion( Value1 ) ;
Code: Select all
OutputTime = MinutesToTime(TimeToMinutes(110)-80)
Code: Select all
var:
new.time(0);
new.time = AddTime( 1030, -50 );
TJYou can use a function called AddTime.
It should be in your PowerLanguageEditor.
eg.Code: Select all
var:
new.time(0);
new.time = AddTime( 1030, -50 );
Please see:TJYou can use a function called AddTime.
It should be in your PowerLanguageEditor.
eg.Code: Select all
var:
new.time(0);
new.time = AddTime( 1030, -50 );
AddTime function is not available in MC v8.8 beta2.
Could you please post that code on this forum.
Thanks
TJPlease see:TJYou can use a function called AddTime.
It should be in your PowerLanguageEditor.
eg.Code: Select all
var:
new.time(0);
new.time = AddTime( 1030, -50 );
AddTime function is not available in MC v8.8 beta2.
Could you please post that code on this forum.
Thanks
viewtopic.php?f=5&t=45762
You are welcome.TJ
Thank you, This function works like a charm.