Implemented interface member:
method
ToString
System.IFormattable.ToString(System.String, System.IFormatProvider)
160 references to ToString
mscorlib (15)
system\runtime\remoting\soapinteroptypes.cs (11)
195return value.ToString("yyyy-MM-dd'T'HH:mm:ss.fffffffzzz", CultureInfo.InvariantCulture); 456return _value.ToString("HH:mm:ss.fffffffzzz", CultureInfo.InvariantCulture); 539return _value.ToString("'-'yyyy-MM-dd", CultureInfo.InvariantCulture); 541return _value.ToString("yyyy-MM-dd", CultureInfo.InvariantCulture); 623return _value.ToString("'-'yyyy-MM", CultureInfo.InvariantCulture); 625return _value.ToString("yyyy-MM", CultureInfo.InvariantCulture); 707return _value.ToString("'-'yyyy", CultureInfo.InvariantCulture); 709return _value.ToString("yyyy", CultureInfo.InvariantCulture); 769return _value.ToString("'--'MM'-'dd", CultureInfo.InvariantCulture); 826return _value.ToString("---dd", CultureInfo.InvariantCulture); 883return _value.ToString("--MM--", CultureInfo.InvariantCulture);
system\timezoneinfo.cs (4)
3588serializedText.Append(SerializeSubstitute(rule.DateStart.ToString( 3591serializedText.Append(SerializeSubstitute(rule.DateEnd.ToString( 3689serializedText.Append(SerializeSubstitute(time.TimeOfDay.ToString(timeOfDayFormat, DateTimeFormatInfo.InvariantInfo))); 3697serializedText.Append(SerializeSubstitute(time.TimeOfDay.ToString(timeOfDayFormat, DateTimeFormatInfo.InvariantInfo)));
PresentationFramework (4)
src\Framework\System\Windows\Controls\DatePicker.cs (2)
998return string.Format(CultureInfo.CurrentCulture, d.ToString(dtfi.ShortDatePattern, dtfi)); 1003return string.Format(CultureInfo.CurrentCulture, d.ToString(dtfi.LongDatePattern, dtfi));
src\Framework\System\Windows\Controls\DateTimeHelper.cs (2)
230result = date.Value.ToString(format.YearMonthPattern, format); 273result = date.Value.Date.ToString(format.LongDatePattern, format);
System (32)
compmod\system\componentmodel\DateTimeConverter.cs (2)
108return dt.ToString("yyyy-MM-dd", culture); 121return dt.ToString(format, CultureInfo.CurrentCulture);
compmod\system\diagnostics\DelimitedListTraceListener.cs (1)
179WriteEscaped(eventCache.DateTime.ToString("o", CultureInfo.InvariantCulture));
compmod\system\diagnostics\TraceListener.cs (1)
436WriteLine("DateTime=" + eventCache.DateTime.ToString("o", CultureInfo.InvariantCulture));
compmod\system\diagnostics\XmlWriterTraceListener.cs (2)
203InternalWrite(eventCache.DateTime.ToString("o", CultureInfo.InvariantCulture)); 205InternalWrite(DateTime.Now.ToString("o", CultureInfo.InvariantCulture));
net\System\Net\Cache\_Rfc2616CacheValidators.cs (10)
501if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_now_time, DateTime.UtcNow.ToString("r", CultureInfo.InvariantCulture))); 514if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_age1_date_header, ((int)age.TotalSeconds).ToString(NumberFormatInfo.InvariantInfo), ctx.CacheDate.ToString("r", CultureInfo.InvariantCulture))); 526Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_age1_last_synchronized_age_header, ((int)age.TotalSeconds).ToString(NumberFormatInfo.InvariantInfo), ctx.CacheEntry.LastSynchronizedUtc.ToString("r", CultureInfo.InvariantCulture), ((int)ctx.CacheAge.TotalSeconds).ToString(NumberFormatInfo.InvariantInfo))); 528Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_age1_last_synchronized, ((int)age.TotalSeconds).ToString(NumberFormatInfo.InvariantInfo), ctx.CacheEntry.LastSynchronizedUtc.ToString("r", CultureInfo.InvariantCulture))); 605if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_max_age_expires_date, ((int)((expiresDate - date).TotalSeconds)).ToString(NumberFormatInfo.InvariantInfo), expiresDate.ToString("r", CultureInfo.InvariantCulture))); 616if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_max_age_absolute, expiresDate.ToString("r", CultureInfo.InvariantCulture))); 649if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_no_max_age_use_10_percent, maxAgeSeconds.ToString(NumberFormatInfo.InvariantInfo), lastModifiedDate.ToString("r", CultureInfo.InvariantCulture))); 899if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_policy_cache_sync_date, ctx.Policy.InternalCacheSyncDateUtc.ToString("r", CultureInfo.CurrentCulture), ctx.CacheEntry.LastSynchronizedUtc.ToString(CultureInfo.CurrentCulture))); 1605str = ctx.CacheEntry.LastModifiedUtc.ToString("r", CultureInfo.InvariantCulture); 1667str = ctx.CacheEntry.LastModifiedUtc.ToString("r", CultureInfo.InvariantCulture);
net\System\Net\Cache\FtpRequestCacheValidator.cs (10)
138if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_now_time, nowDate.ToString("r", CultureInfo.InvariantCulture))); 144if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_max_age_absolute, CacheEntry.ExpiresUtc.ToString("r", CultureInfo.InvariantCulture))); 156if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_age1, ((int)age.TotalSeconds).ToString(NumberFormatInfo.InvariantInfo), CacheEntry.LastSynchronizedUtc.ToString("r", CultureInfo.InvariantCulture))); 166if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_no_max_age_use_10_percent, maxAgeSeconds.ToString(NumberFormatInfo.InvariantInfo), CacheEntry.LastModifiedUtc.ToString("r", CultureInfo.InvariantCulture))); 284if(Logging.On) Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_response_last_modified, resp.LastModified.ToUniversalTime().ToString("r", CultureInfo.InvariantCulture), resp.ContentLength)); 285if(Logging.On) Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_cache_last_modified, CacheEntry.LastModifiedUtc.ToString("r", CultureInfo.InvariantCulture), CacheEntry.StreamSize)); 444if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_removed_entry_because_ftp_restart_response_changed, CacheEntry.LastModifiedUtc.ToString("r", CultureInfo.InvariantCulture), resp.LastModified.ToUniversalTime().ToString("r", CultureInfo.InvariantCulture))); 476if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_last_synchronized, CacheEntry.LastSynchronizedUtc.ToString("r", CultureInfo.InvariantCulture))); 490if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_updating_last_synchronized, CacheEntry.LastSynchronizedUtc.ToString("r", CultureInfo.InvariantCulture)));
net\System\Net\Cache\RequestCacheEntry.cs (4)
90sb.Append("\r\nExpires = ").Append(ExpiresUtc == DateTime.MinValue? "": ExpiresUtc.ToString("r", CultureInfo.CurrentCulture)); 91sb.Append("\r\nLastAccessed = ").Append(LastAccessedUtc == DateTime.MinValue? "": LastAccessedUtc.ToString("r", CultureInfo.CurrentCulture)); 92sb.Append("\r\nLastModified = ").Append(LastModifiedUtc == DateTime.MinValue? "": LastModifiedUtc.ToString("r", CultureInfo.CurrentCulture)); 93sb.Append("\r\nLastSynchronized = ").Append(LastSynchronizedUtc == DateTime.MinValue? "": LastSynchronizedUtc.ToString("r", CultureInfo.CurrentCulture));
net\System\Net\Internal.cs (1)
1989return D.ToUniversalTime().ToString("R", dateFormat);
net\System\Net\mail\SmtpDateTime.cs (1)
281string output = value.ToString("ddd, dd MMM yyyy HH:mm:ss", CultureInfo.InvariantCulture);
System.Core (2)
System\Diagnostics\EventSchemaTraceListener.cs (2)
307_InternalBuildRaw(writer, eventCache.DateTime.ToString("o", CultureInfo.InvariantCulture)); 309_InternalBuildRaw(writer, DateTime.UtcNow.ToString("o", CultureInfo.InvariantCulture));
System.Data (3)
fx\src\data\System\Data\SqlClient\SqlBuffer.cs (3)
363return this.DateTime.ToString("yyyy-MM-dd", DateTimeFormatInfo.InvariantInfo); 367return new DateTime(_value._timeInfo.ticks).ToString(__katmaiTimeFormatByScale[scale], DateTimeFormatInfo.InvariantInfo); 371return this.DateTime.ToString(__katmaiDateTime2FormatByScale[scale], DateTimeFormatInfo.InvariantInfo);
System.Data.Entity (2)
System\Data\Common\CommandTrees\Internal\ExpressionKeyGen.cs (1)
241_key.Append(((DateTime)e.Value).ToString("o", CultureInfo.InvariantCulture));
System\Data\SqlClient\SqlGen\SqlGenerator.cs (1)
941result.Append(EscapeSingleQuote(((System.DateTime)e.Value).ToString(this.IsPreKatmai ? "yyyy-MM-dd HH:mm:ss.fff" : "yyyy-MM-dd HH:mm:ss.fffffff", CultureInfo.InvariantCulture), false /* IsUnicode */));
System.IdentityModel (10)
System\IdentityModel\Metadata\MetadataSerializer.cs (1)
2767writer.WriteAttributeString(Saml2MetadataConstants.Attributes.ValidUntil, null, roleDescriptor.ValidUntil.ToString("s", CultureInfo.InvariantCulture));
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (2)
2581writer.WriteElementString(WSUtilityConstants.Prefix, WSUtilityConstants.ElementNames.Created, WSUtilityConstants.NamespaceURI, lifetime.Created.Value.ToString(DateTimeFormats.Generated, CultureInfo.InvariantCulture)); 2586writer.WriteElementString(WSUtilityConstants.Prefix, WSUtilityConstants.ElementNames.Expires, WSUtilityConstants.NamespaceURI, lifetime.Expires.Value.ToString(DateTimeFormats.Generated, CultureInfo.InvariantCulture));
System\IdentityModel\Tokens\SamlAssertion.cs (1)
645writer.WriteString(this.issueInstant.ToString(SamlConstants.GeneratedDateTimeFormat, CultureInfo.InvariantCulture));
System\IdentityModel\Tokens\SamlAuthenticationStatement.cs (1)
257writer.WriteString(this.authenticationInstant.ToString(SamlConstants.GeneratedDateTimeFormat, CultureInfo.InvariantCulture));
System\IdentityModel\Tokens\SamlConditions.cs (2)
163writer.WriteString(this.notBefore.ToString(SamlConstants.GeneratedDateTimeFormat, DateTimeFormatInfo.InvariantInfo)); 170writer.WriteString(this.notOnOrAfter.ToString(SamlConstants.GeneratedDateTimeFormat, DateTimeFormatInfo.InvariantInfo));
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (3)
1883writer.WriteAttributeString(SamlConstants.AttributeNames.IssueInstant, null, assertion.IssueInstant.ToUniversalTime().ToString(DateTimeFormats.Generated, CultureInfo.InvariantCulture)); 1989conditions.NotBefore.ToUniversalTime().ToString(DateTimeFormats.Generated, DateTimeFormatInfo.InvariantInfo)); 1998conditions.NotOnOrAfter.ToUniversalTime().ToString(DateTimeFormats.Generated, DateTimeFormatInfo.InvariantInfo));
System.Runtime.Serialization (2)
System\Runtime\Serialization\ExtensionDataReader.cs (1)
694this.value = dateTime.ToString("yyyy-MM-ddTHH:mm:ss.fffffffK", DateTimeFormatInfo.InvariantInfo);
System\Runtime\Serialization\Json\JsonWriterDelegator.cs (1)
195writer.WriteString(value.ToString(this.dateTimeFormat.FormatString, this.dateTimeFormat.FormatProvider));
System.ServiceModel (12)
System\ServiceModel\Administration\WbemProvider.cs (1)
935val = ((DateTime)val).ToString("yyyyMMddhhmmss.ffffff", CultureInfo.InvariantCulture) + "+000";
System\ServiceModel\Diagnostics\MessageLogTraceRecord.cs (1)
136writer.WriteAttributeString(MessageLogTraceRecord.TraceTimeAttributeName, this.timestamp.ToString("o", CultureInfo.InvariantCulture));
System\ServiceModel\Security\SecurityTimestamp.cs (8)
165throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new MessageSecurityException(SR.GetString(SR.TimeStampHasCreationAheadOfExpiry, this.CreationTimeUtc.ToString(DefaultFormat, CultureInfo.CurrentCulture), this.ExpiryTimeUtc.ToString(DefaultFormat, CultureInfo.CurrentCulture)))); 177throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new MessageSecurityException(SR.GetString(SR.TimeStampHasExpiryTimeInPast, this.ExpiryTimeUtc.ToString(DefaultFormat, CultureInfo.CurrentCulture), now.ToString(DefaultFormat, CultureInfo.CurrentCulture), allowedClockSkew))); 183throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new MessageSecurityException(SR.GetString(SR.TimeStampHasCreationTimeInFuture, this.CreationTimeUtc.ToString(DefaultFormat, CultureInfo.CurrentCulture), now.ToString(DefaultFormat, CultureInfo.CurrentCulture), allowedClockSkew))); 189throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new MessageSecurityException(SR.GetString(SR.TimeStampWasCreatedTooLongAgo, this.CreationTimeUtc.ToString(DefaultFormat, CultureInfo.CurrentCulture), now.ToString(DefaultFormat, CultureInfo.CurrentCulture), timeToLive, allowedClockSkew)));
System\ServiceModel\Security\WSTrust.cs (2)
1202writer.WriteString(effectiveTime.ToString("yyyy-MM-ddTHH:mm:ss.fffZ", CultureInfo.InvariantCulture.DateTimeFormat)); 1206writer.WriteString(expirationTime.ToString("yyyy-MM-ddTHH:mm:ss.fffZ", CultureInfo.InvariantCulture.DateTimeFormat));
System.ServiceModel.Web (4)
System\ServiceModel\Description\WebScriptClientGenerator.cs (1)
61serviceLastModifiedRfc1123String = serviceLastModified.ToString("R", DateTimeFormatInfo.InvariantInfo);
System\ServiceModel\Dispatcher\HelpExampleGenerator.cs (1)
358return dateTime.ToString("s", CultureInfo.InvariantCulture);
System\ServiceModel\Web\OutgoingWebResponseContext.cs (2)
74value.ToString("R", CultureInfo.InvariantCulture) : 75value.ToUniversalTime().ToString("R", CultureInfo.InvariantCulture));
System.Web (13)
httpserverutility.cs (3)
1516return dt.ToString("R", DateTimeFormatInfo.InvariantInfo); 1520return dt.ToString("R", DateTimeFormatInfo.InvariantInfo); 1526return dt.ToString("ddd, dd-MMM-yyyy HH':'mm':'ss 'GMT'", DateTimeFormatInfo.InvariantInfo);
IisTraceListener.cs (1)
165sb.Append(eventCache.DateTime.ToString("o", CultureInfo.InvariantCulture));
Management\SimpleMailWebEventProvider.cs (1)
86lastFlush.ToString("r", CultureInfo.InstalledUICulture)));
Management\SqlWebEventProvider.cs (1)
205lastNotificationUtc.ToString("r", CultureInfo.InstalledUICulture)),
Management\webeventbuffer.cs (1)
590return t.ToString("T", DateTimeFormatInfo.InvariantInfo) + "." + t.Millisecond.ToString("d03", CultureInfo.InvariantCulture);
Management\wmiprovider.cs (1)
51sb.Append(dt.ToString("yyyyMMddHHmmss.ffffff", CultureInfo.InstalledUICulture));
UI\ObjectConverter.cs (1)
108return((DateTime)value).ToString(formatString, CultureInfo.InvariantCulture);
UI\WebControls\Calendar.cs (4)
1576dayNumberText = d.ToString("dd", CultureInfo.CurrentCulture); 1611dayTitle = d.ToString("m", CultureInfo.CurrentCulture); 1748titleText = visibleDate.ToString("MMMM", CultureInfo.CurrentCulture); 1757titleText = visibleDate.ToString(titlePattern, CultureInfo.CurrentCulture);
System.Web.DataVisualization (5)
Common\Converters\AxisConverters.cs (1)
126 return DateTime.FromOADate((double)value).ToString("g", System.Globalization.CultureInfo.CurrentCulture);
Common\Converters\DataManagerConverters.cs (2)
589 result += DateTime.FromOADate(d).ToString("g", System.Globalization.CultureInfo.InvariantCulture) + ","; 631 return valueAsSate.ToString("g", System.Globalization.CultureInfo.CurrentCulture);
Common\General\AxisScrollZoom.cs (2)
1648strValue = DateTime.FromOADate(dtValue).ToString("g", System.Globalization.CultureInfo.CurrentCulture); 1662strValue = DateTime.FromOADate(dtValue).ToString("g", System.Globalization.CultureInfo.CurrentCulture);
System.Web.Extensions (1)
Script\Serialization\ObjectConverter.cs (1)
374s = ((DateTime)o).ToUniversalTime().ToString("u", CultureInfo.InvariantCulture);
System.Web.Mobile (24)
UI\MobileControls\Adapters\ChtmlCalendarAdapter.cs (8)
382arr.Add(Control.VisibleDate.ToString( 441_textBox.Text = Control.VisibleDate.ToString(numericDateFormat, CultureInfo.InvariantCulture); 477arr.Add(tempDate.ToString(abbreviatedYearMonthPattern, CultureInfo.CurrentCulture)); 492writer.Write(Control.VisibleDate.ToString(monthFormat, CultureInfo.CurrentCulture)); 511weekDisplay = tempDate.ToString(abbreviatedMonthDayPattern, CultureInfo.CurrentCulture); 514weekDisplay += tempDate.ToString(abbreviatedMonthDayPattern, CultureInfo.CurrentCulture); 539date = tempDate.ToString(abbreviatedMonthDayPattern, CultureInfo.CurrentCulture); 733return dateTime.ToString("gg", CultureInfo.CurrentCulture);
UI\MobileControls\Adapters\WmlCalendarAdapter.cs (8)
364arr.Add(Control.VisibleDate.ToString( 418_textBox.Text = Control.VisibleDate.ToString(numericDateFormat, CultureInfo.InvariantCulture); 459arr.Add(tempDate.ToString(abbreviatedYearMonthPattern, CultureInfo.CurrentCulture)); 475Control.VisibleDate.ToString(monthFormat, CultureInfo.CurrentCulture)); 493weekDisplay = tempDate.ToString(abbreviatedMonthDayPattern, CultureInfo.CurrentCulture); 496weekDisplay += tempDate.ToString(abbreviatedMonthDayPattern, CultureInfo.CurrentCulture); 521date = tempDate.ToString(abbreviatedMonthDayPattern, CultureInfo.CurrentCulture); 710return dateTime.ToString("gg", CultureInfo.CurrentCulture);
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicCalendarAdapter.cs (8)
332arr.Add(Control.VisibleDate.ToString( 386_textBox.Text = Control.VisibleDate.ToString(numericDateFormat, CultureInfo.CurrentCulture); 420arr.Add(tempDate.ToString(abbreviatedYearMonthPattern, CultureInfo.CurrentCulture)); 435writer.Write(Control.VisibleDate.ToString(monthFormat, CultureInfo.CurrentCulture)); 453weekDisplay = tempDate.ToString(abbreviatedMonthDayPattern, CultureInfo.CurrentCulture); 456weekDisplay += tempDate.ToString(abbreviatedMonthDayPattern, CultureInfo.CurrentCulture); 480date = tempDate.ToString(abbreviatedMonthDayPattern, CultureInfo.CurrentCulture); 652return dateTime.ToString("gg", CultureInfo.CurrentCulture);
System.Windows.Forms (2)
winforms\Managed\System\WinForms\DateTimePicker.cs (1)
1181return value.ToString("G", CultureInfo.CurrentCulture);
winforms\Managed\System\WinForms\MonthCalendar.cs (1)
1398return value.ToString("d", CultureInfo.CurrentCulture);
System.Windows.Forms.DataVisualization (5)
Common\Converters\AxisConverters.cs (1)
126 return DateTime.FromOADate((double)value).ToString("g", System.Globalization.CultureInfo.CurrentCulture);
Common\Converters\DataManagerConverters.cs (2)
589 result += DateTime.FromOADate(d).ToString("g", System.Globalization.CultureInfo.InvariantCulture) + ","; 631 return valueAsSate.ToString("g", System.Globalization.CultureInfo.CurrentCulture);
Common\General\AxisScrollZoom.cs (2)
1648strValue = DateTime.FromOADate(dtValue).ToString("g", System.Globalization.CultureInfo.CurrentCulture); 1662strValue = DateTime.FromOADate(dtValue).ToString("g", System.Globalization.CultureInfo.CurrentCulture);
System.Workflow.ComponentModel (2)
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (2)
656stringValue = ((DateTime)obj).ToString("o", CultureInfo.InvariantCulture); 1201return ((DateTime)value).ToString("o", CultureInfo.InvariantCulture);
System.Workflow.Runtime (18)
Hosting\SqlWorkflowPersistenceService.cs (10)
114WorkflowTrace.Host.TraceEvent(TraceEventType.Information, 0, "SqlWorkflowPersistenceService OpenConnection start: " + DateTime.UtcNow.ToString("G", System.Globalization.CultureInfo.InvariantCulture)); 116WorkflowTrace.Host.TraceEvent(TraceEventType.Information, 0, "SqlWorkflowPersistenceService. OpenConnection end: " + DateTime.UtcNow.ToString("G", System.Globalization.CultureInfo.InvariantCulture)); 262WorkflowTrace.Host.TraceEvent(TraceEventType.Information, 0, "SqlWorkflowPersistenceService.RetrieveNonblockingInstanceStateIds ExecuteReader start: " + DateTime.UtcNow.ToString("G", System.Globalization.CultureInfo.InvariantCulture)); 264WorkflowTrace.Host.TraceEvent(TraceEventType.Information, 0, "SqlWorkflowPersistenceService.RetrieveNonblockingInstanceStateIds ExecuteReader end: " + DateTime.UtcNow.ToString("G", System.Globalization.CultureInfo.InvariantCulture)); 325WorkflowTrace.Host.TraceEvent(TraceEventType.Information, 0, "SqlWorkflowPersistenceService.TryRetrieveANonblockingInstanceStateId ExecuteNonQuery start: " + DateTime.UtcNow.ToString("G", System.Globalization.CultureInfo.InvariantCulture)); 327WorkflowTrace.Host.TraceEvent(TraceEventType.Information, 0, "SqlWorkflowPersistenceService.TryRetrieveANonblockingInstanceStateId ExecuteNonQuery end: " + DateTime.UtcNow.ToString("G", System.Globalization.CultureInfo.InvariantCulture)); 376WorkflowTrace.Host.TraceEvent(TraceEventType.Information, 0, "SqlWorkflowPersistenceService.RetrieveExpiredTimerIds ExecuteReader start: " + DateTime.UtcNow.ToString("G", System.Globalization.CultureInfo.InvariantCulture)); 378WorkflowTrace.Host.TraceEvent(TraceEventType.Information, 0, "SqlWorkflowPersistenceService.RetrieveExpiredTimerIds ExecuteReader end: " + DateTime.UtcNow.ToString("G", System.Globalization.CultureInfo.InvariantCulture)); 605WorkflowTrace.Host.TraceEvent(TraceEventType.Information, 0, "SqlWorkflowPersistenceService.RetrieveStateFromDB {0} ExecuteReader start: {1}", instanceId, DateTime.UtcNow.ToString("G", System.Globalization.CultureInfo.InvariantCulture)); 607WorkflowTrace.Host.TraceEvent(TraceEventType.Information, 0, "SqlWorkflowPersistenceService.RetrieveStateFromDB {0} ExecuteReader end: {1}", instanceId, DateTime.UtcNow.ToString("G", System.Globalization.CultureInfo.InvariantCulture));
Tracking\SqlTrackingService.cs (8)
462WorkflowTrace.Host.TraceEvent(TraceEventType.Information, 0, "SqlTrackingService.ExecuteRetried " + executeRetried.Method.Name + " start: " + DateTime.UtcNow.ToString("G", System.Globalization.CultureInfo.InvariantCulture)); 464WorkflowTrace.Host.TraceEvent(TraceEventType.Information, 0, "SqlTrackingService.ExecuteRetried " + executeRetried.Method.Name + " end: " + DateTime.UtcNow.ToString("G", System.Globalization.CultureInfo.InvariantCulture)); 492WorkflowTrace.Host.TraceEvent(TraceEventType.Information, 0, "SqlTrackingService.ExecuteReaderRetried ExecuteReader start: " + DateTime.UtcNow.ToString("G", System.Globalization.CultureInfo.InvariantCulture)); 494WorkflowTrace.Host.TraceEvent(TraceEventType.Information, 0, "SqlTrackingService.ExecuteReaderRetried ExecuteReader end: " + DateTime.UtcNow.ToString("G", System.Globalization.CultureInfo.InvariantCulture)); 523WorkflowTrace.Host.TraceEvent(TraceEventType.Information, 0, "SqlTrackingService.ExecuteNonQueryRetried ExecuteNonQuery start: " + DateTime.UtcNow.ToString("G", System.Globalization.CultureInfo.InvariantCulture)); 525WorkflowTrace.Host.TraceEvent(TraceEventType.Information, 0, "SqlTrackingService.ExecuteNonQueryRetried ExecuteNonQuery end: " + DateTime.UtcNow.ToString("G", System.Globalization.CultureInfo.InvariantCulture)); 554WorkflowTrace.Host.TraceEvent(TraceEventType.Information, 0, "SqlTrackingService.ExecuteNonQueryWithTxRetried ExecuteNonQuery start: " + DateTime.UtcNow.ToString("G", System.Globalization.CultureInfo.InvariantCulture)); 558WorkflowTrace.Host.TraceEvent(TraceEventType.Information, 0, "SqlTrackingService.ExecuteNonQueryWithTxRetried ExecuteNonQuery end: " + DateTime.UtcNow.ToString("G", System.Globalization.CultureInfo.InvariantCulture));
System.Xml (3)
System\Xml\BinaryXml\SqlUtils.cs (2)
793return dateTime.ToString(format, CultureInfo.InvariantCulture); 813return dateTime.ToString("yyyy/MM/dd\\THH:mm:ss", CultureInfo.InvariantCulture);
System\Xml\XmlConvert.cs (1)
765return value.ToString(format, DateTimeFormatInfo.InvariantInfo);
WindowsBase (1)
Base\MS\Internal\IO\Packaging\XmlSignatureProperties.cs (1)
359return dt.ToString(format, formatter);