INSERT & UPDATE changing date format to mm/dd/yyyy!!!

I have INSERT & UPDATE ASP/VB forms which have a date
field which submits to
Access....except when the date is entered as dd/mm/yyyy, it
decides to
convert it to mm/dd/yyyy....absolutely terrific!! :o((
I've added this:
<% Session.LCID = 2057 %>
I've checked the date format, I've done absolutely everything
I can think
of, and can source on the newsgroups, but NOTHING.
What, on earth, is going on??????????????
If anyone can help save me from this madness, please tell me
why this is
happening?
I'm using ASP/VB, with Access on a Windows server and, up
until now, I've
never had this problem.
Here's my INSERT code:
<%@LANGUAGE="VBSCRIPT"%>
<% Session.LCID = 2057 %>
<!--#include file="../Connections/dsnNAME.asp" -->
<%
Dim MM_editAction
MM_editAction = CStr(Request.ServerVariables("SCRIPT_NAME"))
If (Request.QueryString <> "") Then
MM_editAction = MM_editAction & "?" &
Server.HTMLEncode(Request.QueryString)
End If
' boolean to abort record edit
Dim MM_abortEdit
MM_abortEdit = false
%>
<%
' IIf implementation
Function MM_IIf(condition, ifTrue, ifFalse)
If condition = "" Then
MM_IIf = ifFalse
Else
MM_IIf = ifTrue
End If
End Function
%>
<%
If (CStr(Request("MM_insert")) = "form1") Then
If (Not MM_abortEdit) Then
' execute the insert
Dim MM_editCmd
Set MM_editCmd = Server.CreateObject ("ADODB.Command")
MM_editCmd.ActiveConnection = MM_dsnNAME_STRING
MM_editCmd.CommandText = "INSERT INTO tblNews (newstitle,
newsdate,
newsenddate, thumbnail, largeimage, newstextsnip, newstext,
emailcontact,
urllink, [include]) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)"
MM_editCmd.Prepared = true
MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param1", 202,
1, 75, Request.Form("newstitle")) ' adVarWChar
MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param2", 135,
1, -1, MM_IIF(Request.Form("newsdate"),
Request.Form("newsdate"), null)) '
adDBTimeStamp
MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param3", 135,
1, -1, MM_IIF(Request.Form("newsenddate"),
Request.Form("newsenddate"),
null)) ' adDBTimeStamp
MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param4", 202,
1, 75, Request.Form("thumbnail")) ' adVarWChar
MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param5", 202,
1, 75, Request.Form("largeimage")) ' adVarWChar
MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param6", 203,
1, 536870910, Request.Form("newstextsnip")) ' adLongVarWChar
MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param7", 203,
1, 536870910, Request.Form("newstext")) ' adLongVarWChar
MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param8", 202,
1, 75, Request.Form("emailcontact")) ' adVarWChar
MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param9", 202,
1, 75, Request.Form("urllink")) ' adVarWChar
MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param10", 5,
1, -1, MM_IIF(Request.Form("include"), 1, 0)) ' adDouble
MM_editCmd.Execute
MM_editCmd.ActiveConnection.Close
' append the query string to the redirect URL
Dim MM_editRedirectUrl
MM_editRedirectUrl = "confirm.htm"
If (Request.QueryString <> "") Then
If (InStr(1, MM_editRedirectUrl, "?", vbTextCompare) = 0)
Then
MM_editRedirectUrl = MM_editRedirectUrl & "?" &
Request.QueryString
Else
MM_editRedirectUrl = MM_editRedirectUrl & "&" &
Request.QueryString
End If
End If
Response.Redirect(MM_editRedirectUrl)
End If
End If
%>
Thanks.
Nath.

Well, I've established that it's DW8.0.2 that is causing this
strange
occurence.
Reverted back to previously created versions of my
INSERT/UPDATE form pages
(created in DWMX) and it all works fine!!
I think that makes the whole situation even more frustrating
because I had
HUGE problems with this back in 2003/2004, and resolved it.
Now I've upgraded to DW8.0.2 and it's all gone "ape" again.
<sigh>
Any ideas, looking at the code in my initial post, why this
is happening?
For comparison here is the same INSERT created in DWMX that
WORKS:
<%@LANGUAGE="VBSCRIPT"%>
<!--#include file="../Connections/dsnNAME.asp" -->
<%
' *** Edit Operations: declare variables
Dim MM_editAction
Dim MM_abortEdit
Dim MM_editQuery
Dim MM_editCmd
Dim MM_editConnection
Dim MM_editTable
Dim MM_editRedirectUrl
Dim MM_editColumn
Dim MM_recordId
Dim MM_fieldsStr
Dim MM_columnsStr
Dim MM_fields
Dim MM_columns
Dim MM_typeArray
Dim MM_formVal
Dim MM_delim
Dim MM_altVal
Dim MM_emptyVal
Dim MM_i
MM_editAction = CStr(Request.ServerVariables("SCRIPT_NAME"))
If (Request.QueryString <> "") Then
MM_editAction = MM_editAction & "?" &
Request.QueryString
End If
' boolean to abort record edit
MM_abortEdit = false
' query string to execute
MM_editQuery = ""
%>
<%
' *** Insert Record: set variables
If (CStr(Request("MM_insert")) = "form1") Then
MM_editConnection = MM_dsnNAME_STRING
MM_editTable = "tblNews"
MM_editRedirectUrl = "confirm.htm"
MM_fieldsStr =
"newstitle|value|newsenddate|value|thumbnail|value|largeimage|value|newstextsnip|value|ne wstext|value|emailcontact|value|urllink|value|include|value"
MM_columnsStr =
"newstitle|',none,''|newsenddate|',none,NULL|thumbnail|',none,''|largeimage|',none,''|new stextsnip|',none,''|newstext|',none,''|emailcontact|',none,''|urllink|',none,''|include|no ne,1,0"
' create the MM_fields and MM_columns arrays
MM_fields = Split(MM_fieldsStr, "|")
MM_columns = Split(MM_columnsStr, "|")
' set the form values
For MM_i = LBound(MM_fields) To UBound(MM_fields) Step 2
MM_fields(MM_i+1) = CStr(Request.Form(MM_fields(MM_i)))
Next
' append the query string to the redirect URL
If (MM_editRedirectUrl <> "" And Request.QueryString
<> "") Then
If (InStr(1, MM_editRedirectUrl, "?", vbTextCompare) = 0 And
Request.QueryString <> "") Then
MM_editRedirectUrl = MM_editRedirectUrl & "?" &
Request.QueryString
Else
MM_editRedirectUrl = MM_editRedirectUrl & "&" &
Request.QueryString
End If
End If
End If
%>
<%
' *** Insert Record: construct a sql insert statement and
execute it
Dim MM_tableValues
Dim MM_dbValues
If (CStr(Request("MM_insert")) <> "") Then
' create the sql insert statement
MM_tableValues = ""
MM_dbValues = ""
For MM_i = LBound(MM_fields) To UBound(MM_fields) Step 2
MM_formVal = MM_fields(MM_i+1)
MM_typeArray = Split(MM_columns(MM_i+1),",")
MM_delim = MM_typeArray(0)
If (MM_delim = "none") Then MM_delim = ""
MM_altVal = MM_typeArray(1)
If (MM_altVal = "none") Then MM_altVal = ""
MM_emptyVal = MM_typeArray(2)
If (MM_emptyVal = "none") Then MM_emptyVal = ""
If (MM_formVal = "") Then
MM_formVal = MM_emptyVal
Else
If (MM_altVal <> "") Then
MM_formVal = MM_altVal
ElseIf (MM_delim = "'") Then ' escape quotes
MM_formVal = "'" & Replace(MM_formVal,"'","''") &
Else
MM_formVal = MM_delim + MM_formVal + MM_delim
End If
End If
If (MM_i <> LBound(MM_fields)) Then
MM_tableValues = MM_tableValues & ","
MM_dbValues = MM_dbValues & ","
End If
MM_tableValues = MM_tableValues & MM_columns(MM_i)
MM_dbValues = MM_dbValues & MM_formVal
Next
MM_editQuery = "insert into " & MM_editTable & " ("
& MM_tableValues & ")
values (" & MM_dbValues & ")"
If (Not MM_abortEdit) Then
' execute the insert
Set MM_editCmd = Server.CreateObject("ADODB.Command")
MM_editCmd.ActiveConnection = MM_editConnection
MM_editCmd.CommandText = MM_editQuery
MM_editCmd.Execute
MM_editCmd.ActiveConnection.Close
If (MM_editRedirectUrl <> "") Then
Response.Redirect(MM_editRedirectUrl)
End If
End If
End If
%>
This type of thing does my HEAD in.
Nath.
"tradmusic.com" <[email protected]> wrote in
message
news:[email protected]...
>I have INSERT & UPDATE ASP/VB forms which have a date
field which submits
>to Access....except when the date is entered as
dd/mm/yyyy, it decides to
>convert it to mm/dd/yyyy....absolutely terrific!! :o((
>
> I've added this:
> <% Session.LCID = 2057 %>
>
> I've checked the date format, I've done absolutely
everything I can think
> of, and can source on the newsgroups, but NOTHING.
> What, on earth, is going on??????????????
>
> If anyone can help save me from this madness, please
tell me why this is
> happening?
> I'm using ASP/VB, with Access on a Windows server and,
up until now, I've
> never had this problem.
>
> Here's my INSERT code:
>
> <%@LANGUAGE="VBSCRIPT"%>
> <% Session.LCID = 2057 %>
> <!--#include file="../Connections/dsnNAME.asp" -->
> <%
> Dim MM_editAction
> MM_editAction =
CStr(Request.ServerVariables("SCRIPT_NAME"))
> If (Request.QueryString <> "") Then
> MM_editAction = MM_editAction & "?" &
> Server.HTMLEncode(Request.QueryString)
> End If
>
> ' boolean to abort record edit
> Dim MM_abortEdit
> MM_abortEdit = false
> %>
> <%
> ' IIf implementation
> Function MM_IIf(condition, ifTrue, ifFalse)
> If condition = "" Then
> MM_IIf = ifFalse
> Else
> MM_IIf = ifTrue
> End If
> End Function
> %>
> <%
> If (CStr(Request("MM_insert")) = "form1") Then
> If (Not MM_abortEdit) Then
> ' execute the insert
> Dim MM_editCmd
>
> Set MM_editCmd = Server.CreateObject ("ADODB.Command")
> MM_editCmd.ActiveConnection = MM_dsnNAME_STRING
> MM_editCmd.CommandText = "INSERT INTO tblNews
(newstitle, newsdate,
> newsenddate, thumbnail, largeimage, newstextsnip,
newstext, emailcontact,
> urllink, [include]) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?,
> MM_editCmd.Prepared = true
> MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param1", 202,
> 1, 75, Request.Form("newstitle")) ' adVarWChar
> MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param2", 135,
> 1, -1, MM_IIF(Request.Form("newsdate"),
Request.Form("newsdate"), null)) '
> adDBTimeStamp
> MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param3", 135,
> 1, -1, MM_IIF(Request.Form("newsenddate"),
Request.Form("newsenddate"),
> null)) ' adDBTimeStamp
> MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param4", 202,
> 1, 75, Request.Form("thumbnail")) ' adVarWChar
> MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param5", 202,
> 1, 75, Request.Form("largeimage")) ' adVarWChar
> MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param6", 203,
> 1, 536870910, Request.Form("newstextsnip")) '
adLongVarWChar
> MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param7", 203,
> 1, 536870910, Request.Form("newstext")) ' adLongVarWChar
> MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param8", 202,
> 1, 75, Request.Form("emailcontact")) ' adVarWChar
> MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param9", 202,
> 1, 75, Request.Form("urllink")) ' adVarWChar
> MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param10", 5,
> 1, -1, MM_IIF(Request.Form("include"), 1, 0)) ' adDouble
> MM_editCmd.Execute
> MM_editCmd.ActiveConnection.Close
>
> ' append the query string to the redirect URL
> Dim MM_editRedirectUrl
> MM_editRedirectUrl = "confirm.htm"
> If (Request.QueryString <> "") Then
> If (InStr(1, MM_editRedirectUrl, "?", vbTextCompare) =
0) Then
> MM_editRedirectUrl = MM_editRedirectUrl & "?" &
Request.QueryString
> Else
> MM_editRedirectUrl = MM_editRedirectUrl & "&"
& Request.QueryString
> End If
> End If
> Response.Redirect(MM_editRedirectUrl)
> End If
> End If
> %>
>
> Thanks.
> Nath.
>

Similar Messages

  • How to change data format from  MM/DD/YYYY to DD/MM/YYYY

    HI,
    How can we change data format from MM/DD/YYYY to DD/MM/YYYY in Prompt and Report Level in obiee 11g.
    Please help me ont this.
    Thanks

    Hi,
    In Prompt:
    Try using EVALUATE function.
    Eg: Evaluate('TO_CHAR(%1,%2)' as character(30),"D5.Times"."Day Date",'DD-MON-YYYY')
    Report level:
    Try this in the column formula-
    Evaluate('TO_CHAR(%1,%2)' as character(30),"D5.Times"."Day Date",'MM/DD/YYYY')
    (or)
    EVALUATE('TO_CHAR(%1,%2)' AS CHARACTER ( 30 ), "Dim- Date".Start Date, 'MON-YY')
    http://108obiee.blogspot.in/2009/03/how-to-change-date-format-mask-in-date.html
    http://obiee-bip.blogspot.in/2011/08/customizing-obiee-calendar-display.html
    Some other methods.
    Metdhod 1:
    'Save System-Wide Column Formats' Option
    Check this.
    http://siebel-essentials.blogspot.com/2010/10/11-obiee-11g-tips-9-system-wide.html?m=1
    Thanks
    satya

  • BEX: Changing date format from 'mm/dd/yyyy' to 'mon/yyyy'

    Happy Friday! I need to change the date format in my BEX query from a regular date format (dd/mm/yyyy) to display as 'JUN/2008'. Please note that I dont want to modify the date field but just need to display it month and year format in the bex query. Would truly appreciate a complete answer.
    Thanks

    Hi
    Check the first thread
    Hope this will solve your problem.
    How to change Date format in Bex to DD/MM/YYYY
    Check ur Windows or Excel settings. Try changing it in Control Panel->Regional Options->Date->Short Date format.
    change it in Control Panel->Regional Options->Date->Short Date format.
    Changing Date format in BEx & Web Application
    I Need to change Date Format in BEx report
    Regards
    M.A
    Edited by: M.A on Jun 27, 2008 10:12 PM

  • Change date format from DD.MM.YYYY to DD.MM in query

    Hi,
    In one partical query/web application we would like to change the display format of 0CALDAY from 01.01.2010 to 01.01 (without the year) because the data is in the columns and the analysis grid therefore is too wide. Changing this via SU01 is not an option.
    Is there any way to do this in the query?
    Thanks.

    Hi,
    If you want to display the calday data as titles of the columns,
    1) Create 2 Text Variables (ZEST1 and ZTEST2) in the title and assign them in the following format -->
    Quantity &ZTEST1&.&ZTEST2& (having a point in between them)
    2) Define ZTEST1 and ZTEST2 of the type 'replacement path' - the calday value can be used from either the infoobject or an input variable as required.
    2) In the replacement path section of ZTEST1, give an offset value (if date format is 10.10.2010, 'Offset Start' = 0 and 'Offset length' = 2)
    3)  In the replacement path section of ZTEST2, give an offset value (if date format is 10.10.2010, 'Offset Start' = 2 and 'Offset length' = 2)
    4) This would give the final result in the format 'Quantity 10.10'
    If you want to display the calday data in the columns itself, you will have to create one formula variable of the same settings above with Offset start at 0 and Offset length 4 or 5 and use it in a CKF or formula. In this case you will have to assign 2 decimal places to the column, since this is displayed as a number otherwise. the output for the same (for 01.01.2010) will be 1.01 instead of 01.01

  • Changing Date format from MM/DD/YYYY to DD/MM/YYYY

    Hello all,
              We have upgraded our portal system from EP 6.0 to EP 7.0 . Before upgrade the portal date format was in DD/MM/YYYY  format but after upgrade it has changed to MM/DD/YYYY.
              We changed the request.mandatoryCountry and Request.mandatoryLanguage parameters as GB and EN respectively .
    After this change the standard portal iview start showing date in DD/MM/YYYY format but custom web dynpro applications are still displaying date in MM/DD/YYYY format.
            Please suggest how can we change the date format for custom dynpro applications too.
    Regards,
    Ganesh

    Ganesh,
    You might find [this|http://help.sap.com/saphelp_nw04/helpdata/en/f4/d95664da179b4db731e21c2e470b72/frameset.htm] link helpful in understanding how the locale is determined for a user who logs into the portal.
    Similar discussions are on the following threads
    1 - date format
    2 - internationalization problem - default language of wd in portal
    A snippet from the above thread,
    1) Language indicator of the user  (Example: Language not set in portal)
    2) Language preference of the browser (Example: fr - Resource doesn't exists)
    3) Language indicator of the Web Dynpro Application
    4) Language preference of the system
    5) Language preference of the JVM
    Hope it helps.
    Good Luck!!!
    GLM

  • Change date format in reporting (query)

    I need to change date format from dd.mm.yyyy to dd/mm/yyyy in reporting (query)

    Hi Suresh,
    Go to transaction su01d in that enter your user.
    Now go to defaults and change the date format.
    Ya but this format will be user specific, so if you want everyone to see that format you have to change it for all.
    Regards
    Mansi

  • How to change date format in alv report

    hi ,
    i wanna change date format which is in yyyy.mm.dd to mm/dd/yyyy in alv report.
    plz advise.
    thanks
    sudheer

    Hi sudheer,
    There is no direst Fm fro that.
    But u can follw the below way. it worked for me. kindly chk it.
    [code]DATA: V_DATE_IN(10) TYPE C,
    V_DATE_SAP TYPE SY-DATUM.
    V_DATE_IN = '01.01.2005.'.
    CONCATENATE V_DATE_IN+6(4) "<--for Year
    V_DATE_IN+3(2) "<--for month
    V_DATE_IN+0(2) "<--for Day
    INTO V_DATE_SAP.
    now V_DATE_SAP will have value like 20060101.
    now use.
    CONVERSION_EXIT_PDATE_OUTPUT Conversion Exit for Domain GBDAT: YYYYMMDD -> DD/MM/YYYY[/code]
    regards
    anver
    <b><i>if hlped pls mark points</i></b>

  • How to change Date format in Prompts.

    Hi,
    How to change Date format to DD/MM/YYYY in Dashboard Prompts.Kindly let me know.

    Hi,
    try to below ways
    1) By using cast fxn you can solve it.
    SELECT CAST("YOUR COLUMN" AS DATE) FROM "SUBJECT AREA NAME"
    2) This is a known bug get patch Bug 9280334: CALENDAR DD/MM/YYYY PROMPT IN DASHBOARD RETURNING FORMAT YYYY-MM-DD HH:MI:SS from support.oracle.com
    3) refer
    http://108obiee.blogspot.com/2009/04/changing-date-format-mask-in-javascript.html
    Thanks
    Deva

  • Change date format yyyy-MM-dd to MM/dd/yyyy

    Hi,
    How to change date format yyyy-MM-dd to MM/dd/yyyy
    Thanks

    a_bean wrote:
    Thanks guys,
    String updated = original.replaceFirst("(\\d{4})-(\\d{2})-(\\d{2})","$2/$3/$1");
    it workedIf, as you said in an earlier post (reply #4), you had the date as a java.util.Date object then this cannot have worked. Are you saying the date is stored as a String and not as a java.util.Date ?

  • Insert record wizard date format

    Hi,
    How can i change the default insert from mm/dd/yyyy to uk format dd/mm/yyyy
    currently if i insert 08/05/2010 which is the 8th may 2010 in uk it will put it into database as 2010/08/05 which when i retrieve is the 5th august 2010 in uk.
    is there a config folder anywhere i can change this?
    many thanks

    thanks bregent.
    it is php/mysql
    not sure what that other reply is about after yours but thanks for your advice.
    is there no way in dreamweaver to change the preferences like in addt to a specific date format?
    thanks
    Date: Wed, 19 May 2010 12:25:47 -0600
    From: [email protected]
    To:
    Subject: Dreamweaver Application Development Insert record wizard date format
    You didn't mention what DBMS or scripting language you are using.
    The best way to get dates from a user is to supply 3 fields for input; day, month, year - then assemble them into the string format that the DBMS is expecting.
    >

  • How i can change date format in the query

    I have made a query and Document date format is DD/MM/YYYY but i want Document date Format as YYYYMMDD. Please help me out as soon as posible.
    Thanks is advance.

    Hi Harman,
    By default query shows same date setting what is maitianed in SU01 (user maintenance). User can set the dates as they want. Ask user to log in BI system and go to system> User Profile> Own Data. They can select the date format and save the changes.
    If you want to display same setting for all user, please select the format whenever you create any users and change for existing users.
    Regards,
    Kams

  • Change Date Format in Calendar prompt

    Hi All,
    I am on 11.1.1.5 and the calendar prompt on selection of date/typing of date defaults to MM/dd/yyyy but, the requirement is to make it to default to MM/dd/yy. I have made 3 changes to the localedefinitions.xml file (dateSeparator,dateShortFormat,dateOrder) and they look like below
    <property name="dateSeparator">/</property> // separator to use between fields in short date formats
    <property name="dateShortFormat">MM/dd/yy</property> // default short date format for locale
    <property name="dateOrder">mdy</property> // preferred order of date fields for input
    But I still dont see a change in the format of the Calendar prompt. Do I need to change something else too?

    I checked under the My Account the locale is set to English and I have the following in the file but still when I select in the prompt the date format is MM/dd/yyyy instead of MM/dd/yy
    <localeDefinition name="en"> <!-- english base -->
    <property name="localeDisplayMessage">kmsgLanguageName_en</property>
    <property name="defaultLanguage">en</property>
    <property name="characterSetList">locale:en</property>
    <property name="listSeparator">,</property>
    <property name="decimalSeparator">.</property>
    <property name="thousandsSeparator">,</property>
    <property name="dateSeparator">/</property>
    <property name="timeSeparator">:</property>
    <property name="am">AM</property>
    <property name="pm">PM</property>
    <property name="timeFormat">h:mm:ss tt</property>
    <property name="dateShortFormat">MM/dd/yy</property>
    <property name="dateLongFormat">dddd, MMMM dd, yyyy</property>
    <property name="negativeNumberTemplate">-#</property>
    <property name="collationImplementation">win:0409</property>
    <property name="dateOrder">mdy</property>

  • How to change date format for prentation variable in Formula

    Hi experts.._
    I need to change date format for presentation variable in formula..
    my dashbord date prompt format: mm/dd/yyyy(i have created one presentation variable for this prompt: pv_date)
    now i need to show it as : month-dd-yyyy
    Thanks in advance
    Regards
    Frnds

    Hi Kishor...Thanks for reply...
    But i need to change my precentation variable date formt...
    i need to write one text like: 'Year to dd/month/yy' in one column formula..
    So how can i achieve it..

  • How can I change defaut date format to dd-mon-yyyy in bi analytics

    hi..
    How can I change the default date format to DD-MON-YYYY in BI Analytics...
    I am passing a date in a report from a prompt....but it is always taking "dd-mon-yyyy hh:mm:ss" format...I want to input the prompt in oracle's default date format i.e dd-mon-yyyy..
    please help...I dont want to use cast function because it will convert the date into a character value....I want a date...

    Hi USer
    Try this link
    How to change date format in OBIEE
    Re: repository variable at date prompt
    Thanks
    Diney

  • How to change date format for prentation variable

    Hi experts
    In my prompt the date format is MM/DD/YYYY . I have created one presentation variable for that but i want to use this in Formula as well in Title as: DD-MON-YY
    So how can i achieve it..
    Thanks in advance
    Regards
    Frnds

    Hi
    i think this can't be done through any code like oracle uses to_char, to_date function.
    Just follow this
    http://oraclebizint.wordpress.com/2007/12/19/oracle-bi-ee-101332-dates-dates-and-dates/
    With this, wherever you have this column, you will be getting this format dates..
    if you don't want in reports you can change it by mentioning the data format for that paricular column in report, but for the same column, if you want different format at different places (for prompts), you can't do that..

Maybe you are looking for

  • How to organize photos in family sharing photo stream?

    How is the best way to use the family photo stream in Family Sharing? I am think of how can photos be organized? Often a family have thousands of photos in the share pool of photos? Does this work probably with Family Sharing and how? I hope that som

  • Very urgent sto

    hi all i m totally confused wid he configuration of sto process mainly in shipping data.plz explain me in the below three processes 1.within 2 plants of differnt company codes 2.within same company code between 2 plants of two diffent sales organisat

  • How many optional allowed in the query?

    Hi, Data base is getting disconnected while running the below sparql query (Query with 9 optional conditions). I tested the query with 5 optional its working fine but, its not working for more than 5 optional. How many optional allowed in the query?

  • How do i let let a website store data on my computer when i'm using firefox.

    I can change the daa storage settings in any other browser except firefox == This happened == Every time Firefox opened == I dowloaded firefox

  • Advantage and diff   btw Business service n business system

    hi, can anyone tell me the relevance n usage and importance of business system and business service, mean when do business service and business systems comes into picture respectively, thanks, pratibha