Displaying 'Date & Time' Column
Hi there, I did do some searching/ reading prior to posting this, but haven't found what I'm looking for...
I want to copy/ paste all my texts from my Nokia 6288 to my pc...
-this works no hassle, I simply use the Nokia Phone Browser to load all my 'Inbox' and 'Sent Items' and move them to the desired folder on my hard drive...
Problem is, in the Nokia Phone Browser, I get columns I can't seem to get in either Windows XP Pro or Windows Vista Business (which has more columns on offer)...
This means, when im looking at the files on my PC, rather than using the nokia phone browser, i dont get the same details which is a bit of a problem for me...
So what I want to know is:
How do i get the Date & Time Column (and all the columns the Nokia Phone Browser displays) to show up in Windows XP or Vista or both?
Thanks in advance
Hi Austin,
I have two remarks about that.
1) It's better to put the population of change/history attributes into a table trigger of type before row where you assign these values. eg.:
:NEW.CREATE_DATE := SYSDATE;
:NEW.CREATE_USER := NVL(V('APP_USER'), USER);The reason is, it will consistently work for all applications which try to insert a record into this table and don't have to worry about change attributes and second, when you use the default property of APEX it will populate the column with the value when the new row was displayed and not when it was saved and third, a user would be able to fake this value and write something else into it (eg. with Firebug or by saving the HTML page) and "create" the record with a different time as you would expect. -> Define the column as "display only doesn't save state"
2) Don't rely on automatic type conversion, remember that for APEX everything is a string that also means that your default value expression has to return a string to be 100% sure that it work on all systems where the default database format mask of Oracle could be different. Change your code to
TO_DATE(SYSDATE, 'DD-MON-YYYY HH24:MI')Just some thoughts, but a testcase on apex.oracle.com is always good to reproduce and help with such a problem.
Patrick
My APEX Blog: http://www.inside-oracle-apex.com
The ApexLib Framework: http://apexlib.sourceforge.net
The APEX Builder Plugin: http://apexplugin.sourceforge.net/ New!
Similar Messages
-
How to avoid displaying date,time using Enhancement point.
Hi friends,
i have to work on the standard report.
stadard report displays date,time ,reportname on the top of the page. my requirement is not to display date ,time,reportname.
they have used the following code,
WRITE text-001 TO m_line+d_offset(4). " Time
WRITE sy-timlo USING EDIT MASK '__:__:__' TO m_line+d_offset(08).
WRITE text-002 TO m_line+d_offset(05). " Date
WRITE sy-datlo DD/MM/YYYY TO m_line+d_offset(10).
BY using Enhancement point how to achieve my task.
kindly help mePost Author: jsanzone
CA Forum: WebIntelligence Reporting
basham,
You didn't mention which type of DBMS you are using (i.e. Oracle, MS SQL, MySQL, etc), but in a nutshell using MS SQL here is the principle. Your time that is recorded in the records is dependent upon a setting in your RDBMS. For instance, the RDBMS can use the machine time (which would most likely be local time), or it can use the machine time with an offset (to accomodate GMT, for instance). GMT is factored differently based upon your time zone (and time of year, i.e. DST or EST, etc). I'm on the east coast so right now my offset is GMT - 5, so if my time right now is 1457, then GMT is 1957. To get SQL to compute an offset you must take the number of hours to offset and divide by 24 (24 hours in a day) and add that to the record in the database. For instance, to get GMT right now I would use:
select cast(getdate()5/24. as char(12))rtrim(convert(char(12),getdate()5/24.,8))' GMT'
Hope this helps. If you're on Oracle, then the mathematical principles remain the same, just the formatting will be different. -
Error in displaying date time value in Thai Windows OS browser.
Hi,
I have a problem displaying date time in the browser which is installed with Thai Windows OS. The time portion (the subset of datetime) does seemed to show correctly. Initially i am suspecting the virtual machine problem but i tried on bith java and microsoft vm, the result seemed the same. I tried to look in the source of the page and the character is just the same as the incorrect character displayed in the browser. The html source is -->
<tr class="TableData">
<td width="76">14/01/04 12:17:06 H-@5H"</td>
the time is displaying incorrectly. I am not sure its due to any setting in the BEA weblogic server. FYI i am now using WLS6.1(SP2) version. Hope and appreaciate a prompt reply. Thanks a zillion in advance.
Regards,
Sunnyhttps://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=noclassdeffounderrorIWDAbstractTableColumn&adv=false&sortby=cm_rnd_rankvalue
java.lang.NoClassDefFoundError
Error while binding node attribute to a UI element (table)
Problem with NWDS 7
class def error? -
Type of object from a database date/time column
Hello everyone,
I've got a concern regarding the way in which coldfusion is
treating date/time columns in a database.
In my opinion when I select a column that is let's say
timestamp type - the object in a query is CF's date/time object.
I've checked the query by getMetaData() and it looks like each
column has its own database type (eq. varchar2, date, etc).
My concern comes from a fact that I've heard that Coldfusion
is treating the date-time columns in a database as strings and in
each case it parses them. So the difference in a locale between a
database server and a Coldfusion server may result in a wrong
date/time object.
Example:
Locale of database EU: yyyy/mm/dd
Locale of Coldfusion US: yyyy/dd/mm
The date like 1st of February 2007 stored in a database would
look then in Coldfusion like: 2nd of January 2007
Could someone please confirm which version is valid?Johnny852 wrote:
> In my opinion when I select a column that is let's say
timestamp type - the
> object in a query is CF's date/time object. I've checked
the query by
> getMetaData() and it looks like each column has its own
database type (eq.
> varchar2, date, etc).
if you already know cf is returning a datetime from a
datetime in the db, what's
the question?
> My concern comes from a fact that I've heard that
Coldfusion is treating the
"fact"? unless the datetime is stored as a string, that's not
a "fact".
> Example:
> Locale of database EU: yyyy/mm/dd
> Locale of Coldfusion US: yyyy/dd/mm
btw neither of your example "locales" are in fact locales.
> The date like 1st of February 2007 stored in a database
would look then in
> Coldfusion like: 2nd of January 2007
if you pass a numeric string representation (2/1/2007 for
instance) of a date to
cf, it will be interpreted via the cf server's "default"
local (ie en_US,
month/day/year) unless you use one of the LS functions like
LSParseDateTime() &
specifically set the the locale (like setLocale("th_TH")) or
make the date
non-ambiguous (2-feb-2007) or build the date yourself from
user input using
createDate() or createDateTime(). you just need to convert
the user's string
representation to a valid cf datetime object (or i guess
force to database to
follow the user's locale date mask). -
Adding 18 hrs to a Date/Time column
Hi All
Power Query provides the functionality to add days to a Date/Time column with the " Date.AddDays()" function. However this appears to only accept whole numbers as inputs.
I want to add 18 hrs to a Date/Time column How can I do this?
Cheers
SteveI was able to achieve this by converting the date into a number, adding 0.75 and then converting back into a date.
Here is the code, source is just a workbook with the following data
let
Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
AddC= Table.AddColumn(Source, "Time", each Number.From([DateTime])),
ValueAdd = Table.AddColumn(AddC, "Custom", each [Time] + 0.75),
HoursAdded = Table.AddColumn(ValueAdd, "Time +18", each DateTime.From([Custom]))
in
HoursAdded
Final Output
Would be interested if there is a more elegant alternative -
Displaying dates as column headers for BEx Query
Hi all,
I have to display dates in sequence as descriptions for 15 columns based on the keyed in date in Bex Query Analyser. I'm able to display date as column heading for one column using text variable with replacement path.I could not able to increment date for other descriptions.Could you please help me to solve this issue.
Ex: Input Date 05/09/2007 then in the out put column headers should be 0509 0609 0709 ............ 1909
These are only column headers, values for the columns are quantities calculated using formulas.
It is urgent.
Thanks in advance.
Regards,
Mandadi.hi mandadi,
if u want dates as headers only then u should use a text variable .
as a rule u can not set off set for text variable so u create restricted key figure with date restricted and set off set.
now u use this rkf to populate the text variable using replacement path.
text variable can use replacement path for replacing from any variable and characteristics.
bye -
How can I display date+time and not the point number in excell?
Hi everyone,
Could anybody tell me how I can save date + time to a file, so that I can display on a diagram(excel) : date+time in (ox) and data (oy)? :
My program sets in (ox) the point number and not the date+time....( although date and time are written correctly in the column...)
Any help would be great,
Thanks,
regards,
Marchi there,
excel uses 01.01.1900 00:00 as the time offset, LabVIEW uses 01.01.1904 02:00, so you can't display the correct datetime in excel when you write the time as a fractional number of seconds from LabVIEW. you must format the datetime in LabVIEW to a string and write that to the column. use the "Format Date/Time String" - function and for example "%d.%m.%Y %H:%M:%S%3u" as the format string (see the functions help for more examples). you also could format your data to a string using "Format Into String" - function and write the file as a 2D string array. the decimal point you have to use depends on your system and its settings, but you can specify the decimal point in the Format string like "%.;%f" (means fractional number with point as decimal point).
best regards
chris
Best regards
chris
CL(A)Dly bending G-Force with LabVIEW
famous last words: "oh my god, it is full of stars!" -
Display data in column structure
Hi all,
I have statements like below:
select distinct COL0 from aws_dbsum2
select distinct COL2 from aws_dbsum2
select distinct COL3 from aws_dbsum2
select distinct COL4 from aws_dbsum2
select distinct COL5 from aws_dbsum2
select distinct COL6 from aws_dbsum2
select distinct COL7 from aws_dbsum2
select distinct COL8 from aws_dbsum2
select distinct COL9 from aws_dbsum2
select distinct COL10 from aws_dbsum2
select distinct COL11 from aws_dbsum2
select distinct COL12 from aws_dbsum2
select distinct COL13 from aws_dbsum2
/I am getting results..
But i want to display results in column structure(all distinct value) like:
when i use union i am getting duplicates...
Col0 col1 col2
1 Norway TV
2 Germany DVD
3 China Tube
4 USA thanks in advance
Australia
Edited by: Onenessboy on Sep 15, 2011 2:11 AM
Edited by: BluShadow on 15-Sep-2011 13:47
fixed code tagHello
There may be a simpler way but this is what I came up with. No matter what, you're going to have to access the table multiple times...
WITH source_data AS
( SELECT 'Jive rocks' col1, 'Value 2' col2, 'Bananna' col3 from dual union all
SELECT 'Jive rocks' col1, 'Badminton' col2, 'Bananna' col3 from dual union all
SELECT 'Jive rocks' col1, 'Billiards' col2, 'Apple' col3 from dual union all
SELECT 'Civet' col1, 'Coffee' col2, 'Bananna' col3 from dual union all
SELECT 'Civet' col1, 'Badminton' col2, 'Pineapple' col3 from dual
unpivot AS
( SELECT
column_name,
value,
ROW_NUMBER() OVER (PARTITION BY column_name ORDER BY value) rn
FROM
( SELECT
'COL1' column_name,
col1 value
FROM
source_data
UNION
SELECT
'COL2' column_name,
col2 value
FROM
source_data
UNION
SELECT
'COL3' column_name,
col3 value
FROM
source_data
--select * from unpivot
SELECT
MAX
( CASE
WHEN column_name = 'COL1' THEN
value
END
) col1,
MAX
( CASE
WHEN column_name = 'COL2' THEN
value
END
) col2,
MAX
( CASE
WHEN column_name = 'COL3' THEN
value
END
) col3
FROM
unpivot
GROUP BY
rn
ORDER BY
rnHTH
David
Edited by: Bravid on Sep 15, 2011 11:36 AM
Edited by: Bravid on Sep 15, 2011 11:37 AM
apparently mon-key is a spam word, and just for the record, I was not attempting to pro-mote my mon-key ten-nis dis-count bus-iness -
Print to pdf, but don't wanna display date/time
I'm using the print to adobe option to convert a html file to pdf, but everytime I do it, the resulting pdf file always display date and time at the bottom right of the page. Is there a way to get rid off that?
thanks a bunch!Adobe Reader can't convert html to pdf.
-
Displaying date/time in the report of last updating data?
Hi,
I have produced a report over a multiprovider. The multiprovider is built up from tow cubes. The data is being updated to one cube each hour and to the another cube one time daily.
The date/time that display in the report is for the last updating data of the cube that updating one time daily.
I want that the date\time be updated each hour, in another words, to display the date\time of last updating data to the second cube.
Any suggestions?Hi Mohamad,
Please read through this discussion for a solution:
ROLLUPTIME of a multiprovider
Hope this helps... -
PS Elements 6 - Displaying Date & Time in Slide Shows
Is it possible to display the date & time of the photos during Slide Shows and Full Screen dislays?
In Full Screen view, you can show captions by selecting Action Menu > Full
Screen View Options > Include Captions. To show the date and time, do
Action Menu > Show Properties, which will pop up the properties window. You
can position the properties window wherever you want, but unfortunately it
will likely overlap your photo a little. -
Displaying Date & Time in Scheduled Worksheet
I'm using BI Discoverer Plus & BI Viewer.
In Discoverer I've set up a scheduled workbook to create a workbook once per day.
It runs fine and creates worksheets as required.
In Viewer I can open the Workbooks and Worksheets as required.
I want the worksheet to contain the time & date when the data was brought
into the report.
It seems that the date and time is the date and time when I open the report for printing.
Anyone know how I can get the report to include the time and date when the
report was run, rather than when it is displayed/printed?
Thanks
SuhadaRuss,
I think perhaps I'm not explaining what I want very clearly so
here's another attempt:
What I want is in one place on the page, to show the date & time
when the data was extracted.
If I understand correctly, putting &Date and &Time in the Page Title
displays the Time and Date that the Report is display on screen rather than when the Data was extracted from the database.
If I create a Worksheet which has &Date and &Time in it and then
refresh it and then print it then the date and time shown are about right.
However if I create a scheduled workbook which say runs once per day,
wait for a week and then open a report from a few days ago, the data shown
was extracted a few days ago but the &Date and &Time show the current date and time.
It seems to me that when you print a report, what's most relevant is the time
and date when the data was extracted, rather than the time & date that the
report is printed.
I've worked in Business Objects before and it's fairly easy in that to set things
up so that every report has on it both the date & time of when the data was
extracted AND the date & time when the report was printed.
So what I want is a way of showing on the report, the date and time at which the data was extracted, i.e. when the query was run.
Just once, say in the top right hand corner of the page.
I hope that's clearer.
Suhada -
How to remove time zone from date time column?
Hello all,
I have one birthday calendar list where I am showing birthdays of employees in acompany.
Now when I display Date in a page I am getting the below output:
Fri Sep 19 2014 00:00:00 GMT-0700 (Pacific Standard Time)
Here I just want the below thing as an output:
Fri Sep 19 2014
the other things like 00:00:00 GMT-0700 (Pacific Standard Time)
How should I achieve it?
Thanks in Advance.Hi
you should use XSLT datetime formatting
http://amavs.wordpress.com/tag/formatdatetime/
Romeo Donca, Orange Romania (MCSE, MCITP, CCNA) Please Mark As Answer if my post solves your problem or Vote As Helpful if the post has been helpful for you. -
Capture/Display Date & Time for Document Approval
Hi Gurus,
We are on SAP Enterprise Portals 7 SPS 15.
I have enabled Document Approval in one folder in a repository. The Document Approval works correctly; but I want to capture the date and time the document was approved at:
Option 1 (Preferred):
1. Click on "Details" from the "Context Menu" of the document.
2. Click on "Settings"=>"Approval" in the popup window.
Currently it only shows
<Step-Name> <Approver-Name> has approved
Desired:
<Step-Name> <Approver-Name> has approved on <Date-Time>
Option 2:
1. Approval Maintenance Report (under Content Management=>Reports=>Approval maintenance)
Your guidance is greatly appreciated and I promise points.
Thanks and regards,
Pratik
Edited by: Pratik Thakkar on Mar 19, 2009 9:42 AMHi,
Chk this [https://forums.sdn.sap.com/thread.jspa?messageID=115712]
Regards
Baby -
Date / Time Column Display
I want to be able to display within a JClient panel two separate fields - one a date and one a time, but I want both of these to reference a single database column, extracting the relevant portion of the data for display to the user.
I have tried manipulating the entity but am coming across one or two problems when trying to update.
Has anybody managed to achieve this kind of functionality within the BC4J/JClient framework ?
Thanks.You may create two transient attributes on the entity which 'get their data' from the actual-persistent column and return just the date or just the time portions. On set of any of these transient-attributes, you should also update the persistent-attribute value with the approrpriate value.
Then map these transient attributes on the VO and then on the JClient form to say two textfields.
If you're encountering some specific problem/exception doing this, you may want to expand on your example/usage and the behavior seen so that we can simulate the scenario to provide further suggestions.
Maybe you are looking for
-
Is there HP officejet 7210 software for windows 8?
I'm able to print although want to scan and fax as well. worked well with either xp or vista.
-
IPhone drivers will not install (windows 7)
Haya there, I have around 1100 photo's on my iPhone and I was planning to save some on my harddisc so I could free up some space on my phone itself. Easiest way to do this is plug it in, open the iPhone as a flash drive and drag and drop really. Now
-
I got a virus on my mac book pro, my wife says she open her e-mail and then the computer went nuts haha. It show the desk top with a virus box and it say that I need to install this program to remove them or cancel. Ether one I click on it starts to
-
How to install windows costume ISO using batch script over network?
I have developing one click or silent installation in network through source of windows ISO file. I 'am getting trouble in middle. I need batch file, it should contains script and this script will installs given OS's software/image.
-
How to convert oracle DDL to mysql DDL
Dear friends, I have Oracle 9.2.0 DDL, (not complexity, no BLOB or CLOB data type, but have foreign key constrains), I want to convert it to mysql DDL, so I can create mysql database using this DDL. could someone give a hint of how to convert it? tha