Skip to main content
Sitecore Documentation
  • Learn
  • Downloads
  • Changelog
  • Roadmap
XP
Sitecore Experience Platform
  • Sitecore Experience Platform
                • The AddCustomValues method
                • The DefinitionId method
                • The ItemId method
                • The EngagementValue method
                • The ParentEventId method
                • The Text method
                • The Timestamp method
                • The Duration method
                • The DeviceIdentifier method
            • Building an event request
        • Resource management
  • Machine Learning
  1. Configuring base event requests
  1. Sitecore Experience Platform
  2. Universal Tracker

The Timestamp method

Version:

To define the timestamp, use the Timestamp() method.

Property

Details

UT SDK methods

Timestamp(DateTime)

Required/optional

Optional

Multiple invocations

Multiple invocations are forbidden and cause an InvalidOperationException exception

Value validation

Must contain proper DateTime value

Cannot be null

If you have suggestions for improving this article, let us know!

Documentation Assistant

This assistant uses AI to generate responses based on Sitecore documentation. While it has access to official sources, answers may be incomplete or inaccurate and should not be considered official advice or support.
Powered by
k
kapa.ai
Protected by reCAPTCHA

© Copyright 2026, Sitecore A/S or a Sitecore affiliated company.
All rights reserved.

Privacy policySitecore Trust CenterTerms of use