Date & time is not inserted proper for special price while add product in nopcommerc - asp.net-mvc-3

I am using nopcommerce version 3.60 & my database is on SQL server 2012.
My store date time is UTC+5.30 that I have set after refer this post http://www.nopcommerce.com/boards/t/12054/where-does-the-default-timezone-come-from.aspx
I have try to enter special price start date is 1-jan-2015 and special price end date is 31-jan-2016 and try to save this but I got
error of
"The value '1/31/2016 12:00 AM' is not valid for Special price end
date."
That I didn't get it why this comes I have enter proper and in text box it shows 1/31/2016 12:00 AM and if I change it with 31/1/2015 12:)) AM it will be saved and show in special price end date textbox is 31-Jan-16 12:00:00 AM.
So I am facing this issue. Please provide me some setting for this bug.
So it is Nopcommerce bug. Is any one have face this issue tell me that, and also checked in database of product table it has datatype is datetime.

Related

Date Picker Validation Start Date

I am new to the environment and need help writing a validation statement in APEX.
I have a Start Date and End Date field on a page with a Date Picker Type.
The End Date validation has already been set ( end date must be equal to or greater than start date )
Now I need to implement this validation for start date:
User should be able to choose either the current date (today) or a future date.
Is there a way to disable previous days on Apex? Or would I need to write a validation statement? If so, what validation statement could I use?
Check out the settings for the date picker, specifically the minimum date.
Use the help to work out exactly what you need. APEX will then handle the validations for you.

Displaying Start-End Date in Dynamics CRM

I have created email workflow which will trigger biweekly. I have to show To Date-From Date in the email body based on the record Created On field. I am not using any custom code, as I am new to dynamics and don't have developer background. For To date, I can use record Created On field but how to calculate End Date based on Created On.
If End Date is always a set amount of time after the Start Date, you can specify this in an update step of the workflow. For example, you can set it to 14 days after the Start Date:
You can also use the date when the workflow runs:

Translated Oracle ApEx app returning incorrect month abbreviation

We have an ApEx data entry site that is translated into both Mexican Spanish and Canadian French. One of the critical columns on most data tables is the date associated with the data. As such, there are date picker fields for each time this value is needed.
The translations automatically display the month code based on the current language (a date picked in January on the Spanish site will display 'Ene' for enero). Before the date is recorded to the DB, the application format mask 'DD-MON-RR' is applied; this understands the current language and records the value on the DB in English.
The issue is that the month of December (diciembre) is showing the abbreviation of 'Dec' rather than 'Dic'. As a result, error ORA-01843 (not a valid month) is generated and the data is not saved. However, if the entry is manually changed to ##-Dic-##, the value is recorded correctly without error.
This makes it appear that the automatically-generated month abbreviation for this language is incorrect. Is this a known error with a solution?
I don't know anything about globalization, my Apex applications are in Croatian only. However, as a workaround, perhaps you could switch to another date format mask, such as DD.MM.YYYY; doing so, you wouldn't depend on language differences.

Populate Field in Table to Display Dateadd Results

I asked this question before but I still have not received a response, so I'll ask again hoping that someone has an answer:
Dave, a Stackoverflow member was kind enough to answer my question initial question in how to get my "dateadd" field to display on my report; however, I am still not getting the exact results of what I need. While the field with the dateadd formula displays ouput on the report, it does NOT generated output in the Estimated Date for Completion field of the table based on date info entered in the Test Date field. Is this doable?
Please help..
Not sure if this will help but I had a similar issue and this is what I did....
ACTION DESIRED: Have one date field trigger (calculate) future or past date values in other date fields in a form and (Most importantly)have those values save in the master database table and queries.
TRIGGER FIELD:
Re Insp Date
AFFECTED CALCULATED FIELDS:
Re Insp Date 90 Day (To be set to -90 from "Re Insp Date")
Re Insp Date 60 Day (To be set to -60 from "Re Insp Date")
Re Insp Date 30 Day (To be set to -30 from "Re Insp Date")
SOLUTION:
Opened up the properties of what is to be the "trigger" date field
Went to 'All' tab
Opened up a 'Code Builder' Event Procedure in the "After Update"
property
Entered the following VBA code
Private Sub Re_Insp_Date_AfterUpdate()
Re_Insp_Date_90_Day = Re_Insp_Date - 90
Re_Insp_Date_60_Day = Re_Insp_Date - 60
Re_Insp_Date_30_Day = Re_Insp_Date - 30
End Sub
NOTE: If there are spaces in the name fields, an underscore has to replace the spaces. As shown in the VBA code above, Re Insp Date field name must be coded as Re_Insp_Date. (This is why many suggest you use no spacing in when naming database fields, tables, queries, forms, objects, etc)
Hopefully this helps someone else in the future.
Anyway, there it is.

SSRS how to show only month/year as a parameter using/customizing calendar control

I use SSRS 2005.I currently have two datetime parameters (for start and end dates) as parameters for my report. I get the default calendar controls to select the dates.
I want to show only month and year in the calendar control which can be selected by user. Is that possible?
I can create two text fields and let user enter month & year in each text field and i've two validate these two text fields. I dont want to do this because needs typing into the fields.
OR
I can create four dropdown lists for start month, start year and end month and end year with values but this involves clicking/scrolling a bit more. Dont want to do this either.
Can somebody suggest a solution?
Thank you
Bo
This cannot be done using the calendar control.
You can either use the calendar control ignoring the day or implement one of the other two solutions you mentioned.
In case of combobox, you can use select distinct month/year from your data to fill values.
To make this less annoying for your user's to run the report, default your month/year from/to values to these that usually the user selects to run the report.
Personally I would prefer textboxes with default values
eg. If user runs the report for current year from January to current month then the defaults would be
Month from: = 1
Month to: = Datepart("m", Now())
Year from, Year to: = Datepart("yyyy", Now())

Resources