Script or operation to split a date and time channel into two channels
Hi There,
I have a channel that contains a range of dates and times.
I would like to split that channel into two channels - one with date and one with time.
Any suggestions?
Sorry: Here is the attachment......
and Sample of the data
Comment:
Date
Time
AIR TEMP
AIR TEMP SP
TAC PTC
Load Temp
Channel 4
UUT Front TC
1/20/2015
12:30:05
80.3
79.3
59.4
0
0
62.9
1/20/2015
12:30:11
80.1
79.3
59.5
0
0
63
1/20/2015
12:30:17
80
79.3
59.6
0
0
63
1/20/2015
12:30:23
79.9
79.3
59.7
0
0
63.1
1/20/2015
12:30:29
79.7
79.3
59.7
0
0
63.2
1/20/2015
12:30:35
79.7
79.3
59.8
0
0
63.4
1/20/2015
12:30:41
79.6
79.3
59.9
0
0
63.4
1/20/2015
12:30:47
79.6
79.3
60
0
0
63.5
1/20/2015
12:30:53
79.5
79.3
60
0
0
63.5
1/20/2015
12:30:59
79.5
79.3
60.2
0
0
63.6
1/20/2015
12:31:05
79.6
79.3
60.3
0
0
63.7
1/20/2015
12:31:11
79.6
79.3
60.3
0
0
63.7
1/20/2015
12:31:17
79.6
79.3
60.5
0
0
63.8
1/20/2015
12:31:23
79.7
79.3
60.6
0
0
63.9
1/20/2015
12:31:29
79.7
79.3
60.7
0
0
64
1/20/2015
12:31:35
79.8
79.3
60.8
0
0
64.1
1/20/2015
12:31:41
79.8
79.3
60.9
0
0
64.3
1/20/2015
12:31:47
79.8
79.3
61
0
0
64.4
1/20/2015
12:31:53
79.7
79.3
61.1
0
0
64.4
1/20/2015
12:31:59
79.7
79.3
61.2
0
0
64.5
1/20/2015
12:32:05
79.7
79.3
61.3
0
0
64.6
1/20/2015
12:32:11
79.6
79.3
61.4
0
0
64.7
1/20/2015
12:32:17
79.6
79.3
61.5
0
0
64.8
1/20/2015
12:32:23
79.6
79.3
61.6
0
0
64.8
1/20/2015
12:32:29
79.5
79.3
61.6
0
0
64.8
1/20/2015
12:32:35
79.5
79.3
61.7
0
0
64.8
1/20/2015
12:32:41
79.5
79.3
61.8
0
0
64.9
Similar Messages
-
Splitting Emergency Address and Family Details into two application
Hi All,
I need a help to figure out how it can be achieved. We are having Ess_family_US application which will allow us to enter the details for all the subtypes we have entered in the backend Table. Now my client is asking to Split the application into two applications as:
1. Emergency Contact
2. Family details.
As they want these applications to be placed in different sections of ESS Overview Screen. More Specificly if i enter Emergency Details it should display and provide editing provision only for Emergency Contacts. In the same way for Family Details also.
Can any one guide me on this how we can approach and resolve it.
Thanks
Ravi SunkaraHi,
It can be possible thru Dynamic XSS Homepages with Static Services
for this you need to create the Dynamic XSS homepage ....
Following is the best document for this
Create Dynamic XSS Homepages with Static Services Using a Simple Proxy Class
/people/amir.madani/blog/2007/01/05/create-dynamic-xss-homepages-with-static-services-using-a-simple-proxy-class -
Merging seperate date and time fields into a unique text field.
I have a dropdown Calendar Date field and a dropdown Time Field in a form and I want to create an additional Text Field that displays the combination of these two fields as a unique form field that would look like this...
Arrival Date: 1/27/2009 Arrival Time: 11:30 AM
Record Number: This would be calculated from the two fields as (012720091130)
Also when you press the submit button the XML file name would be the Record Number (this would be a coded filename to correspond to the time of arrival).
Any Ideas?Creating the Arrival time string should be easy. Its a case of adding a number of strings together. Assuming the date is held ina field called dateField and the time is in a field called timeField the javascript expression woudl look like this:
TargetField.rawValue = "Arrival Date: " + dateField.rawValue + " Arrival Time: " + timeField.rawValue;
To get the recordNumber you will have to parse the unwanted chars out of the strings then add the two together just like above.
The data file name will be the same as the PDF file that it came from. You cannot change the name of it easily without certifying the document (and that brings in its on set of problems). -
Date and time convertion into timestamp
hi gurus,
i have a function module ztimestamp
in that import PARAMETERS parameters are
parametername type ref type defaulttype
I_BEGDA TYPE D SY-DATUM
I_BEGTM type T '000000'
I_ENDDA TYPE D SY-DATUM
I_ENDTM TYPE T '235959'
MY REQUIREMENT IS I HAVE TO CONVERT THIS IMPORT PARAMETRS INTO TIMESTAMP(DATE,TIME)
AND THAT TIME STAMP SHOUL GIVE APPLICATION SERVER TIME.
HOW CAN WE CONVERT THIS ONE ?
FOR GOOD ANSWERS I WILL GIVE GOOD POINTS.
THANKS
RKhi gurus,
i have a function module ztimestamp
in that import PARAMETERS parameters are
parametername type ref type defaulttype
I_BEGDA TYPE D SY-DATUM
I_BEGTM type T '000000'
I_ENDDA TYPE D SY-DATUM
I_ENDTM TYPE T '235959'
MY REQUIREMENT IS I HAVE TO CONVERT THIS IMPORT PARAMETRS INTO TIMESTAMP(DATE,TIME)
AND THAT TIME STAMP SHOUL GIVE APPLICATION SERVER TIME.
HOW CAN WE CONVERT THIS ONE ?
FOR GOOD ANSWERS I WILL GIVE GOOD POINTS.
THANKS
RK -
Hi,
I don't know if this is possible with Flex. I would like to
read user's regional settings (from his operating system) for
displaying date and time and then display these values in according
format. So how do you read those settings from the user's OS? Is
there a way?
thx in advYou cannot read OS setting using Flex. Maybe you can do it
using AIR. For Locale aware date time format have you looked into
Date.toLocaleString(),
Date.toTimeString(),
Date.toLocaleTimeString(),
Date.toDateString(), and
Date.toLocaleDateString()
methods? -
CF8, Mysql, Date and Time 1 hour behin
Hi Guys we have CF8, and we are using Mysql 5.0 the
connection with the database is perfect
but we have a very estrange problem we store date and time
information into the database
when we query the database we get the right information
however when the coldfusion script
show the result in the web the information is 1 day behind,
I've been looking around in the CF8 administration to see if I can
change some settings without any success.
Example:
eventID eventType eventVenue eventDetail eventStart
eventstartTime eventEnd eventendTime eventLevel eventActive eventTS
2 5 1 spec shares @ college 2008-03-19 14:00:00 2008-03-19
16:00:00 1 yes 2008-03-12 17:00:26
3 2 1 intro @ college 2008-03-20 10:00:00 2008-03-19 16:00:00
1 yes 2008-03-12 17:22:59
of interest are the time and date columns eventStart,
eventstartTime, eventEnd, eventendTime - please note the values
retrieving that information (without modification) via
coldfusion are 1 day behind for dates (actually 1 hour behind) and
1 hour and 1 minute forward for time
2 5 1 spec shares @ college Mar 18 2008 23:00 15:01
18-03-2008 17:01 1 yes
We reproduce the problem in Windows or Linux so we believe
it's a problem with the coldfusion
can you give us any advise ?
Regards
IvanI don't think the problem with with CF. In addition to the
server's timezone, which JVM are you using? You need to at least
1.4.2_11 to account for the recent change in daylight savings time.
http://kb.adobe.com/selfservice/viewContent.do?externalId=d2ab4470 -
Insert current date and time into Oracle date type field
I have a JDBC current date and time insert into Oracle 9i that almost works. It submits the current date and a fixed time into the Oracle date type field. I am using Tomcat 6.0.20.
For example if I insert the data at 7:24:04 PM on Feb 16, 2010 it will insert as: 16-Feb-2010 12:00:00 AM
The date part works but the time always shows 12:00:00 AM no matter what date or time the data is inserted.
Here is what I have for my JDBC inserts and I also tried something with DateFormat:
PreparedStatement ps; Date mydate = new Date(new java.util.Date().getTime()); //insert statement here.... stmt.setDate(1,mydate);
I also tried:
PreparedStatement ps; java.sql.Timestamp mydate = new java.sql.Timestamp(new java.util.Date().getTime()); SimpleDateFormat fmt = new SimpleDateFormat(.... //insert statement here.... ps.setTimestamp(1,fmt.format(mydate));
Both keep submitting the date into Oracle as 16-Feb-2010 12:00:00 AM
Anyway to get the current date and time? For example if I insert the data at 7:24.04 pm today it should show as 16-Feb-2010 07:24.04 PM in Oracle.sportsMarkr wrote:
Date mydate = new Date(new java.util.Date().getTime());Please see the javadocs for java.sql.Date and note the part that says "...to zero"
[http://java.sun.com/javase/6/docs/api/java/sql/Date.html]
If you want a date and time then use java.sql.Timestamp. -
Hi all
Would you mind tell me about that how to add
date and time in to GridBagLayout?
Thank you.Hi,
For Date and Time, look into java.util.Date or java.util.calender.
For displaying use a label, set text with the Date and time , add into the GridBagLayout.
Thats it..
Rajesh -
Automatic changing of activity start date and time of planned orders in SAP
Hello experts,
I have a requirement that in the transaction /SAPAPO/SEQ1 for the list of planned orders what ever we get in the sap we have to swap the activity start date and time for two planned orders which we select automatically. For this I have found the BADI "/SAPAPO/SEQ_VISUAL01".
Now i am able to identify the two selected planned orders inside the BADI method SEQGRID_TOOLBAR_OKCODE_HANDLE.
Now my requirement is i have to swap the start date and time for these two planned orders automatically i.e. through BAPI or any FM.
Any idea of any BAPI or FM to change the details of the planned order.
Thanks,
Sanath.Hi Sanath,
Please check this BAPI BAPI_MOSRVAPS_SAVEMULTI3. This Bapi has the provision of chaning Planned Order & Production Order Data. Also, you can explore more info on available bapis in the T-code 'BAPI'.
Thank you,
Santosh KB. -
Fetching SAP Date and Time format
I am using "RFC_READ_TABLE" function module to fetch SAP table contents using JCO APIs. I need to know the date and time format to parse the values of date and time fields into respective java data types. (I am receiving these values in the form of string using above RFC)
How can I get date and time format information from SAP server?
Regards
AmolHi,
Through T-Code SU01 in general setting tab u can do the general setting for date time, number format
Type tcode SPRO and Got to general settings -> Define Countries then restart the system. -
Script to find locks in Database with Date and time.
Hi all,
I used to have a script which i have lost now due to a recent laptop crash. This script used to find locks in the database.. along with the date and time since when it is locking the session.
It was quite a comprehisive one. I think i found it on this forum only, but not able to find it now. Can someone please help me find one such comprehensive script.
Currently I am using this script.. which is also good.. but does not have the date and time stamp on it. Is there something better.?
SET LINESIZE 165
SET PAGESIZE 66
COLUMN oracle_user FORMAT a15 HEADING 'Oracle User'
COLUMN usercode FORMAT a12 HEADING 'SID/Serial#'
COLUMN os_user FORMAT a10 HEADING 'O/S User'
COLUMN program FORMAT a25 HEADING 'Program'
COLUMN mode_held FORMAT a15 HEADING 'Mode Held'
COLUMN mode_requested FORMAT a15 HEADING 'Mode Requested'
COLUMN lock_type FORMAT a15 HEADING 'Lock Type'
COLUMN object_name FORMAT a30 HEADING 'Object Name'
COLUMN lock_time_min FORMAT 999,999 HEADING 'Lock Time (min)'
SELECT
s.username oracle_user
+, l.sid || '/' || s.serial# usercode+
+, s.osuser os_user+
+, s.program program+
+, DECODE(l.lmode,+
+1, NULL,+
+2, 'Row Share',+
+3, 'Row Exclusive',+
+4, 'Share',+
+5, 'Share Row Exclusive',+
+6, 'Exclusive', 'None') mode_held+
+, DECODE(l.request,+
+1, NULL,+
+2, 'Row Share',+
+3, 'Row Exclusive',+
+4, 'Share',+
+5, 'Share Row Exclusive',+
+6, 'Exclusive', 'None') mode_requested+
+, DECODE(l.type,+
+'MR', 'Media Recovery',+
+'RT', 'Redo Thread',+
+'UN', 'User Name',+
+'TX', 'Transaction',+
+'TM', 'DML',+
+'UL', 'PL/SQL User Lock',+
+'DX', 'Distributed Xaction',+
+'CF', 'Control File',+
+'IS', 'Instance State',+
+'FS', 'File Set',+
+'IR', 'Instance Recovery',+
+'ST', 'Disk Space Transaction',+
+'TS', 'Temp Segment',+
+'IV', 'Library Cache Invalidation',+
+'LS', 'Log Start or Log Switch',+
+'RW', 'Row Wait',+
+'SQ', 'Sequence Number',+
+'TE', 'Extend Table',+
+'TT', 'Temp Table',+
l.type) lock_type
+, o.owner || '.' || o.object_name+
+|| ' - (' || o.object_type || ')' object_name+
+, ROUND(l.ctime/60, 2) lock_time_min+
FROM
v$session s
+, v$lock l+
+, dba_objects o+
+, dba_tables t+
WHERE
l.id1 = o.object_id
AND s.sid = l.sid
AND o.owner = t.owner
AND o.object_name = t.table_name
AND o.owner <> 'SYS'
AND l.type = 'TM'
ORDER BY
+1+
+/+What Brian said is true so are your sure your query was not just reporting the start time of the current transaction from v$transaction.start_time, or the start time of the session: v$session.logon_time, or perhaps the time since the last database call (v$session.last_call_et) which for an active session would be the time the current SQL statement has been running?
HTH -- Mark D Powell -- -
Split month, date and year
How to split month,date and year from date field ? is there any standard function module.
You can do this.
data: year(4) type c,
month(2) type c,
day(2) type c.
year = sy-datum(4).
month = sy-datum+4(2).
day = sy-datum+6(2).
write:/ year.
write:/ month.
write:/ day.
Regards,
Rich Heilman -
Split Spry.Data and Spry.Data.Region from SpryData.js?
I don't like Spry.Data.Region or anything like Spry.*.Region because it make hard to customize using javascript.
But Spry.Data with Observer / Notify feature is great one. In fact, using SpryData.js, I can write my own "render html object" easier.
SrpyData.js is big (127KB) even when compressed, it is still 65KB. That why, needed split Spry.Data and Spry.Data.Region from SpryData.js so who want to use Spry.Data only like me will get smaller trafic.
I've tried remove all Spry.Data.Region content in SpryData.js. Surprise, some in Spry.Data call to Spry.Data.Region >>> Design have problem.
Anyone can help splitting them?Found this in the archives:
<div spry:if="{ds_RowCount} == 0" class="trigger" style="display:none"></div>
Basically a hack to point the tooltip to a hidden div so no errors are thrown. -
Adjusting date and time in Elements Organizer
Hi!
Is there any way to adjust the date and time in Elements Organizer, to a specific date and time that includes not only hours and minutes, but also seconds?
My version of Elements Organizer is version 13.0 (20140904.m.62073) x64, for Mac.
Thanks!
Elements Organizer 13.0.0.0
Core Version: 13.0 (20140904.m.62073)
Language Version: 13.0 (20140904.m.62073)
System:
Operating System Name: Mac OS X
Operating System Version: 10.10.1
System Architecture: Intel CPU Family:6 Model:60 Stepping:3 with MMX, SSE Integer, SSE FP, SSE2
Built-in Memory: 8,00GB
Free Memory: 6,00GB
Important Drivers / Plug-ins / Libraries:
Apple QuickTime Version: 7.73
Adobe Reader Version: Not installed
Adobe Acrobat Version: Not installedIt looks like there are a few different threads on this topic. I posted something yesterday that explained how I used a bash script to automatically parse through the .mov files in my iMovie Events folder and set the "Last Modified" date according to the file name (which had the date in it). It saved me a lot of time since I had >500 clips to set to the proper time. The post might be useful to others:
Re: Horrible iMovie 10 timestamp bug -
Date and Time in Sender File Adapter Target Directory
Hi there,
is there a way of using Date and Time from XI to the Target Directory naming? To use variable substitution some fields of the message had to contain that date and time information, which is not our case.
For filename you can use "add time stamp" option, but and for target directory?
Thanks and regards,
Henrique.> <i>Do you have further information on how to perform
> this with shell commands?</i>
> >> You need to write a shell script. This script will
> add the date/time stamp into the folder in the target
> system. This shell script is executed from the File
> adapter. So once the file is written into the target
> directory, then it will rename the directory.
Hi there, Moorthy
We've tried to write that shell script that you mentioned, but now we have a few doubts on how to make it create the proper directory.
In the file adapter, my target directory is "/%var1%/%var2%/", where %var1% and %var2% are variable substitutions, referencing data which comes from the payload. Now, I need the shell script to append "/<Year>/<Month>/" in the target directory. But where to archive the script? If it stays in the root directory, than how to make it create "/<Year>/<Month>/" folders inside a directory which is variable (/%var1%/%var2%/)?
Is there a way of passing %var1% and %var2% as parameters for the shell script?
Thanks a lot,
Henrique.
Maybe you are looking for
-
Why "slow server alert" when NO running requests and NO open connections??
The snapshot below says it all. Why on earth would my dev machine with no running requests, and no open database connections, kick off a slow server alert? I will tell you that at the exact same time this snapshot was generated, my other two servers
-
Can I open multiple copies of the same book?
I am reading a more technical book. It would be helpful to have multiple pages opened at the same time (for the purpose of reference) Is it possible to open more than one copy of the same book? I know that I can open the book on my iPad or iPhone, bu
-
Report to get data for current_week+1 till 13th week
Hi Friends, I have two tables BACKLOG_WEEK_AFTER_ATP (LE) BACKLOG_ATP_GT_CW (RE) ** First I have to query whats the current week and year and it should come in this format ---- 2011-WK30 columns in table BACKLOG_WEEK_AFTER_ATP are: ITEM_NUMBER Q
-
In photoshop cs3 the crop function is corrupt
I have tried reinstalling photoshop from the disk but it doesn't fix the problem. The crop icon is now three items wide and the crop controls don't show up.
-
Air ApplicationLoader failures - ** Gun now in mouth Edition **
Hello ! In Jan I built my .ipa file, zipped it & deployed it to the app store without a hitch. Amazing really. Now I'm updating it and building it from exactly the same set of resources - just updating the version no. in the xml file accordingly. and