Sum of Time "Hours & Minutes" in stardard list
Hi,
in list where it's possible to have a sum of time (as in my case transaction IW47, list of confirmation time), I can make as usual the sum of time but the system let separated hours from minutes having as result e.g.:
32 hrs
412 min
is there any standard possibility to sum them in only 1 unit of measure?
Thanks.
sorry, but is not a SAPGUI question. you should ask this in the proper functional area or in the ABAP forum.
Similar Messages
-
Dealing with times (hours, minutes)
I am trying to find a way to format a column to contain time, in hours and minutes, not time of day. So far I can only find formatting for date and time of day. I would like to be able to sum the time values. The times represent duration of my bike rides and I would like to sum these values. What am I doing wrong? Thanks.
Hello
Looking at this thread may help:
<http://discussions.apple.com/thread.jspa?threadID=1138610&tstart=30>
Yvan KOENIG (from FRANCE vendredi 21 septembre 2007 20:25:42) -
Is there a way to change the specific time when subscriptions to podcasts are downloaded? I seem to be locked in to 6:29 pm.
Thanks.i have the same problem. i bought a new external hard drive and i am trying to move my entire library onto it. i copied all of my itunes library onto it but when i tried to delete a song off of my initial C: drive to test it, i had to go in an individually change where the songs location was. i already tried changing where the itunes music folder was located however the library still says its located on the C: drive.
-
Time - Calculating "Minutes Per MIle"
For years, I have using an Excel spreadsheet to input my running times. I have a column for "miles", one for "Time" (hours, minutes, second using a "date" cell format) and a column entitled "Minutes per Mile." The formula for obtaining the Minutes per Mile is simple: Miles/Time or "=D15/D14" for example. But when I import my Excel file into Numbers, it cannot correctly populate the "Minutes per Mile" cell. A warning message states: "the Operator "/" expects a number, but cell D14 contains a date."
How can I make this work in Numbers?Thank you, Terry but it still doesn't work. I had to modify the formula you gave me as follows:
=C15/(TIMEVALUE(D15)*1440)
C15 is the actual number of miles, for example 13.4 (this cell is formatted as a number); D15 is total time of the run (hopefully you refer to this as the Minutes column), 2:37:57 AM (this cell is formated as Time using the cell inspector as you suggested); and E15 is the minutes per mile (this is also formatted as Time). When I insert the formula into cell E15, I receive an answer of 0.09. I don't know what that means; the time should have been 11:47 meaning 11 minutes and 47 seconds per mile. Am I formatting the cells incorrectly or is it the formula? I tried opening the Excel file in a program called NeoOffice and the calculation worked just fine. This is driving me crazy. Can you give me some more assistance? Finally, you are talking about "Numbers" not "Pages", right! -
I would like to download an application for my desktop and maybe even my iphone that will tell me how many days, hours, minutes, etc have elapsed since a particular date.
For example, my brother just had a baby and I want to put that date and time into the app and then determine how long it has been since that date and time.
Hopefully this makes sense, because I have not been able to locate anything.
Thanks in advance,This is fantastic. Thank you.
Is there any way to have something like this displayed on my desktop showing the time as it ticks away? -
How do I log the time in hours, minutes and seconds to a table
Hi
I'm a relatively new user of Labview. I am currently writing a program that logs the temperature of an oven and the current time to a table and graph. I am using a GPIB card to communicate with the oven. I have used the Get Date/Time string to get the time and the Decimal String to Number to convert the time to a number which I have then put into an array which goes to a table and graph. My problem at the moment is that the time is being logged in hours only. I need to log the time in hours, minutes and seconds. Can you tell me how I can do this?Hi,
I can see the setup now. The decimal string to number will only ever give the hours, since the ':' character is not part of a number, so won't translate. Use the code I attached previously to get the time as a timestamp, and then go from there.
I've made some modifications, although you'll need to alter the file save to take into account the double precision number
for the timestamp is now 3E+9 (since it's seconds since 1904!!), but since you're writing to a comma separated values (or tab deliminated) style file, this shouldn't be a problem. You could always do a textual save from the table instead.
Thanks
Sacha Emery
National Instruments (UK)
// it takes almost no time to rate an answer
Attachments:
temp time program.vi 98 KB -
Write elapsed time to a spreadsheet in hours:minutes:seconds format
Hi everyone,
I've been trying to write an elapsed time to a spreadsheet file in an hours:minutes:seconds format, but the time is displayed in a floating point value of seconds..
how can I write to a spreadsheet in an hours:minutes:seconds format.
Thank you,
James-I often use a subVI that converts Seconds to Hours, Minutes and Seconds. Use the Quotient and Remainder function to divide your elapsed time by 3600, 60 and 1. You can then convert those values to a modified string and use the Write to Spreadsheet File.
As Dennis said, newer versions of LabVIEW's Write to Spreadsheet File.VI can handle arrays of Double, Integer or String automatically, and in older versions, the Write to Spreadsheet File.VI can be modified and copied to handle strings.
Hope this helps.
(Written in 8.5)
Message Edited by LabViewGuruWannabe on 01-18-2008 09:28 PM
Attachments:
TimeToSpreadsheet.vi 26 KB
SecondstoHMS.png 32 KB -
Function Module to find the Diff bt Two Times : O/p : Hours:Minutes only
Hi All,
Wud you plz let me know the Function Module to find the Difference between two times.
Input Time1( Hours:Minutes:Seconds) Time2 ( Hours:Minutes:Seconds)
Need Output in Hours:Minutes only . ( No seconds Needed )
Thanks,
N.L.NarayanaHi
Please use FM
<b>SD_DATETIME_DIFFERENCE</b> -
Have trouble creating formula using FormCalc that will calculate difference in time (hours and minutes) from a Start Date/Time field and End Date/Time field.
I am using to automatically calculate total time in hours and minutes only of an equipment outage based on a user entered start date and time and end date and time.
For example a user enters start date/time of an equipment outage as 14-Oct-12 08:12 AM and then enters an end date/time of the outage of 15-Oct-12 01:48 PM. I need a return that automatically calculates total time in hours and minutes of the equipment outage.
Thanks ChrisHi,
In JavaScript you could do something like;
var DateTimeRegex = /(\d\d\d\d)-(\d\d)-(\d\d)T(\d\d):(\d\d)/;
var d1 = DateTimeRegex.exec(DateTimeField1.rawValue);
if (d1 !== null)
var fromDate = new Date(d1[1], d1[2]-1, d1[3], d1[4], d1[5]);
var d2 = DateTimeRegex.exec(DateTimeField2.rawValue);
if (d2 !== null)
var toDate = new Date(d2[1], d2[2]-1, d2[3], d2[4], d2[5]);
const millisecondsPerMinute = 1000 * 60;
const millisecondsPerHour = millisecondsPerMinute * 60;
const millisecondsPerDay = millisecondsPerHour * 24;
var interval = toDate.getTime() - fromDate.getTime();
var days = Math.floor(interval / millisecondsPerDay );
interval = interval - (days * millisecondsPerDay );
var hours = Math.floor(interval / millisecondsPerHour );
interval = interval - (hours * millisecondsPerHour );
var minutes = Math.floor(interval / millisecondsPerMinute );
console.println(days + " days, " + hours + " hours, " + minutes + " minutes");
This assumes that the values in DateTimeField1 and DateTimeField2 are valid, which means the rawValue will be in a format like 2009-03-15T18:15
Regards
Bruce -
Thanks for your help.
Hi Raja,
I just want to add something in the drop down list
'Hour'
'Minute'
'Second'
I hope I can get these values from a domain value range.
Could you please assist ?
Anders -
How can i bring Hour,Minute, second info in RMAN log ?
DB version: 11.2.0.3
Platform : Oracle Enterprise Linux 6.2
Below is an excerpt from RMAN backup log file.
As shown with the arrows below, the RMAN backup log doesn't have Hour, Minute and Second information. It just has the date 14-OCT-13
input archived log thread=1 sequence=10946 RECID=21079 STAMP=828801629
input archived log thread=2 sequence=10137 RECID=21081 STAMP=828801794
input archived log thread=1 sequence=10947 RECID=21080 STAMP=828801731
channel ch01: starting piece 1 at 14-OCT-13 --------------------------------------------> We need Time here like 17:28:43
channel ch00: finished piece 1 at 14-OCT-13
piece handle=al_9306_1_828819222 tag=TAG20131014T190816 comment=API Version 2.0,MMS Version 5.0.0.0
channel ch00: backup set complete, elapsed time: 00:14:55
channel ch00: deleting archived log(s)
<snipped>
How can I implement the equivalent of below statement for RMAN logging ?
alter session set nls_date_format='DD-MM-YYYY HH24:MI:SS';HI,
Very interesting question. I think there is no difference. I did the test. There is no difference in terms of performance. But I'm always on the way RMAN Strategist
$ export NLS_DATE_FORMAT=’DD-MON-YY HH24:MI:SS’
$ echo $NLS_DATE_FORMAT
DD-MON-YY HH24:MI:SS
$
$ rman target / nocatalog
Recovery Manager: Release 10.2.0.5.0 – Production on Thu Jun 9 14:47:05 2011
Copyright (c) 1982, 2007, Oracle. All rights reserved
connected to target database: ANARTEST (DBID=1459801106)
using target database control file instead of recovery catalog
RMAN> list backup of database completed between ‘sysdate-2′ and ‘sysdate’;
List of Backup Sets
===================
BS Key Type LV Size Device Type Elapsed Time Completion Time
1103 Full 591.40M DISK 00:04:38 08-JUN-11 01:04:43
BP Key: 1103 Status: AVAILABLE Compressed: YES Tag: TAG20110608T010004
Piece Name: /oracle/rman/dbbak/Daily_bak_1459801106_2mmeb0ol_1_1.bak
List of Datafiles in backup set 1103
File LV Type Ckp SCN Ckp Time Name
1 Full 33971595 08-JUN-11 01:00:05 /dba/data/system01.dbf
2 Full 33971595 08-JUN-11 01:00:05 /dba/data/undotbs01.dbf
3 Full 33971595 08-JUN-11 01:00:05 /dba/data/sysaux01.dbf
4 Full 33971595 08-JUN-11 01:00:05 /dba/data/users01.dbf
5 Full 33971595 08-JUN-11 01:00:05 /dba/data/data_ts01.dbf
6 Full 33971595 08-JUN-11 01:00:05 /dba/data/index_ts01.dbf
BS Key Type LV Size Device Type Elapsed Time Completion Time
1123 Full 593.09M DISK 00:04:10 09-JUN-11 01:04:15
BP Key: 1123 Status: AVAILABLE Compressed: YES Tag: TAG20110609T010005
Piece Name: /oracle/rman/dbbak/Daily_bak_1459801106_3amedl4l_1_1.bak
List of Datafiles in backup set 1123
File LV Type Ckp SCN Ckp Time Name
1 Full 36502391 09-JUN-11 01:00:05 /dba/data/system01.dbf
2 Full 36502391 09-JUN-11 01:00:05 /dba/data/undotbs01.dbf
3 Full 36502391 09-JUN-11 01:00:05 /dba/data/sysaux01.dbf
4 Full 36502391 09-JUN-11 01:00:05 /dba/data/users01.dbf
5 Full 36502391 09-JUN-11 01:00:05 /dba/data/data_ts01.dbf
6 Full 36502391 09-JUN-11 01:00:05 /dba/data/index_ts01.dbf
RMAN>
Thank you -
Save date with precision (Hour, Minutes, seconds ) using V.O.
Hi all,
I'm using Jdeveloper 11g.
I have an Entity object with a column called 'createdOn' of type Date and an entity based View Object with the same type.
I'm trying to save today's Date with precision (day, month, year, hour, minutes, seconds) Using the view Object, but when I look in the Data Base, always appears the date without time.
Here is my code in the application Module to save the data, I've tried some things but nothing...
First I've tried using oracle.jbo.domain.Date, and I've tryed using Calendar as well. Nothing with
ViewObjectImpl voSample = getSamples1View1();
//Date creation for View Object
oracle.jbo.domain.Date today = new Date(Date.getCurrentDate());
//Calendar today = Calendar.getInstance();
//loop through the list of samples (TESTGROUPTYPES), and create the objects
while( it.hasNext())
Row rowSample = voSample.createRow();
SequenceImpl sequence = new SequenceImpl("SAMPLES_SEQ", voSample.getApplicationModule());
rowSample.setAttribute("SampleId", sequence.getSequenceNumber());
rowSample.setAttribute("CollectionId", stCollectionId);
rowSample.setAttribute("TestgroupType",it.next());
rowSample.setAttribute("UnitId",stUnitId);
rowSample.setAttribute("SampleStatus", "ORDERED");
rowSample.setAttribute("SampleBackup", "false");
rowSample.setAttribute("CreatedOn", today);
voSample.insertRow(rowSample);
voSample.getApplicationModule().getTransaction().commit();
Any help will be usefull,
thanks in advance
XAVI.Hello John,
yes, I changed the date mask using
alter session set NLS_DATE_FORMAT='DD/MM/YYYY-hh24:mi:ss'
if i execute to_char(<date_column>, 'YY-MON-DD HH:MI:SS') on that column, the result is:
09-MAY-27 12:00:00
09-MAY-27 12:00:00
09-MAY-27 12:00:00
To launch the queries and see the results I'm using the JDeveloper's SQL WorkSheet.
I can update the data and time and the time persists in the DB
08-FEB-26 08:07:56
so, i think there's something in hte EO, VO or App Module method that I'm doing wrong...
The Entity Attribute is confirured:
name: CreatedOn
Type: Date
Value type: literal
Values checked: Persistent, Precision Rule and Queryable
database column: CREATED_ON, type: DATE
The View attribute is configured:
Name: CreatedOn
Type: Date
Value type: Literal
checked: Mapped to Column or SQL, Selected in query, queryable
query column: Alias: CREATED_ON, Type: DATE -
How do I sum up time, eg, 7:56 + 5:28 + 1:40 (minutes:seconds) in Numbers?
Louise,
You should be aware of the types that Numbers recognizes.
there are strings just letters and numbers and symbols:
e.g.:
Wayne, or Hi there, or "123 Happy Street"
There are numeric values:
e.g.:
1, or , 1000, or 56.654, or 3.14159265, or -90
There are Date/Time values:
1/1/2012 2:09 AM, 5/6/1999, or 5:56:22 PM
In the last two cases even if you do not enter the "other" part numbers will add it. That is if you type "5/6/1999" only, then Numbers will add the time you entered the date. A date/time value will always include both even if you did not enter the other part.
There are Durations, which are the difference between two times. Technically, you cannot add times (when they are a date/time value). Ask yourself how do you add "1/2/2014 5:45:09 AM" to "4/6/1980 12:31:00 AM"?
you can however get the amount of time that has passed from one time to another... this is called a duration. Durations can be added and subtracted. Elapse time is really a duration expressed in weeks, days, hours, minutes, seconds, milliseconds.
I hope this helps you understand SGIIIs post.
you enter durations as "3h 45m 21s" or "6w 3h 2m 1s" (you would leave out the double quotes)
Here is an exapmle where I entered some durations and added them up:
A6=SUM(A2:A5)
this is shorthand for select cell A6, then type (or copy and paste from here) the formula:
=SUM(A2:A5) -
How to get/display time with minutes in a test item
Dear experts,
Forms [32 Bit] Version 10.1.2.0.2 (Production)
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
Oracle Toolkit Version 10.1.2.0.2 (Production)
PL/SQL Version 10.1.0.4.2 (Production)I've the following requirements.
In my form, there are three text items and one save button.
Text items named as
No_of_days --> Number data type
(user will enter number of days)
hours_limit --> Char data type with format mask (HH:MI);
(user will enter hours with minutes)
Upto_date_time --> date data type;
this field calculated as (No_of_days+hours_limit+sysdate)
User will enter No_of_days or hours_limit:
Based on the values I've to calculate Upto_date_time
Here is the problem:
1) If user doesn't enter hours_limit I want to show default time as " 04:00 PM"
2) If user enter hours_limit field we should allow them to enter in the following format
"HH24:MI" format;
what whould be suitable data type for hours_limit field..
I tried with char and i've set the format mask as ,
set_item_property('BLOCK3.hours_limit',format_mask,'HH:MI');
But I'm geeting the error
"FRM-50027:Invalid format mask for given datatype"
Please help to solve this problem,
Regards,
KarthiHi vansul ,
set_item_property('BLOCK3.hours_limit',format_mask,'HH:MI');
Format mast is only allowed to date data type fields.If i set the hours_limit item's data type as date , I'm getting the error message "ORA-01843:Not a valid month"..
How could i make this field only getting or display time with minutes?
Regards,
Karthi -
Since I updated my iOS to 6.0 i can't set up timer to minutes.
Since I updated my iOS to 6.0 i can't set up timer to minutes, only hours. I did the test on another iphone with iOS 6.0 and the same issue happened. On an iphone with iOS 5.1.1 this issue doesn't exist....i think it's a bug and I'd like to report it.
if you'd like to report it, either call AppleCare or go to apple.com/feedback
Maybe you are looking for
-
How to create a new user in IDM 8.1 with random generated password?
Hi, i want create a new user using a modified tabbed user fom that cannot ask for password and confirm password to the administrator but randomly generate a new password (only when the form is opened in user creation) according to password policy and
-
Mailmerge pages with numbers multiple tables
How can I create a mailmerge with Pages and Numbers where in the numbers document multiple tables are used (in sepeare worksheets). It works ok, if I have one table in one document, but as soon as I add another worksheet or table then I am not able t
-
Need KM File Repository manager configuration Steps
Hi Portal guru I need KM File Repository manager configuration doc for KM Configuration. it is urjent. helpful answer rewarde with high points. Regards Sumit
-
How to restore DMG image (advanced)
Hi guys, I made a backup of USB key, which comes with my Xtreamer Ultra, I needed that key for another purpose. Now I need to make a restore of this DMG. Problem is, I dont know why, I tried Disk Utility, after the scan of image, anyway I can not res
-
A grey filter seems to cover my RAW images after importing.
First, I import RAW images from my Nikon 1 v2. When I start to look at the images at first they appear clear and bright. Within a second it seems that a light grey filter descends over the image, making it look dully and blah. RAW tends to look a bit