Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8137145
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T11:00:09+00:00 2026-06-06T11:00:09+00:00

I Wants to get the server Date in Dynamic crm 2011 through new Date()

  • 0

I Wants to get the server Date in Dynamic crm 2011

through new Date() i am getting only the system time.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T11:00:12+00:00Added an answer on June 6, 2026 at 11:00 am

    Your question really isn’t very unclear Hashim. You are trying new Date(); which is JScript. As this is client-side it will not look to the server to retrieve the date and hence you get local system time rather than server time.

    You will need code to execute on the server-side to get server time. One solution is a plugin and you would simply use var myDate = DateTime.Now; to get the current system time.

    You haven’t elaborated on how you wish to use this so I can’t tell you what to do with this value now you have it – but perhaps you are using it to populate an entity attribute, e.g. in a pre-update plugin:

    if (pluginContext.InputParameters.Contains("Target") && 
        pluginContext.InputParameters["Target"] is Entity)
    {
        // Obtain the target entity from the input parmameters.
        var entity = (Entity)pluginContext.InputParameters["Target"];
        // get current date/time
        var now = DateTime.Now;
        entity.Attributes.Add("new_mydatetimefield", now);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to get the current date/time stamp of the server or client
I want user to wait for specified time(4seconds) to get connected to server. If
work on Sql server 2000. i want to get the current server date and
I have used this to get the server date, $yd = getdate(); echo $yd['year'];
how can i get current time From Internet (External Resource - Not From Server)?
I want to get a date from sql server into excel How can i
Possible Duplicate: How to get client date and time in ASP.NET? I have a
I'm searching the correct way to get the actual date and time for a
Using SQL Server 2000 I want to get the max(date) of total for each
i want to get ip server where my tomcat is execute in java (Struts).?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.