<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
<title>ClipboardFusion RSS: DateTime language</title>
<atom:link href="https://www.clipboardfusion.com/Discussions/RSS/?TopicID=7b1e63c0-eb6f-49b0-ac9a-0946995dd69f" rel="self" type="application/rss+xml" />
<link>https://www.clipboardfusion.com/Discussions/RSS/?TopicID=7b1e63c0-eb6f-49b0-ac9a-0946995dd69f</link>
<description>ClipboardFusion RSS: DateTime language</description>
<lastBuildDate>Fri, 01 May 2026 22:47:19 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.clipboardfusion.com/Discussions/RSS/?TopicID=7b1e63c0-eb6f-49b0-ac9a-0946995dd69f</generator>
<item>
<title>RE: DateTime language</title>
<link>https://www.clipboardfusion.com/Discussions/View/datetime-language/?ID=7b1e63c0-eb6f-49b0-ac9a-0946995dd69f#2</link>
<pubDate>Tue, 03 Dec 2019 03:22:40 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.clipboardfusion.com/Discussions/View/datetime-language/?ID=7b1e63c0-eb6f-49b0-ac9a-0946995dd69f#2</guid>
<category>ClipboardFusion</category>
<description><![CDATA[First of all, you need to add System.Globalization namespace to define CultureInfo. Then into the formatted string you specify CultureInfo.InvariantCulture
Code
Copy
Select All
using System;
using System.Collections.Generic;
using System.Globalization;
public static class ClipboardFusionHe...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
First of all, you need to add <b>System.Globalization</b> namespace to define CultureInfo. Then into the formatted string you specify CultureInfo.InvariantCulture<br/>
<div class="col-md-12 BoxWrap"><div class="Box table-responsive"><a name="code" style="width:0; height:0;"></a><h2 class="TableTitle" style="border:0"><div class="TableTitleText">Code</div><div class="TitleButtons"><div class="TableTitleButton"><a href="#" onclick="return false;" data-clipboard-target="#code019de5b9994772b6adb11c79cec09b64" class="ClipboardCopyControl"><img src="https://www.clipboardfusion.com/MediaCommon/SVGs/FontAwesome/clone.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;width:auto;max-width:16px;height:16px;" /><span class="Text">Copy</span></a></div><div class="TableTitleButton"><a href="#" onclick="bfs.util.codeEditorSelectAll('code019de5b9994772b6adb11c79cec09b64Js'); return false;"><img src="https://www.clipboardfusion.com/MediaCommon/SVGs/FontAwesome/square-check.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;width:auto;max-width:16px;height:16px;" /><span class="Text">Select All</span></a></div></div></h2><div class="TableTitleContent table-responsive"><div class="AceEditorWrapper" style="border-top:solid 1px var(--color-default-border);padding:0"><pre id="code019de5b9994772b6adb11c79cec09b64Js" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">using System;
using System.Collections.Generic;
using System.Globalization;

public static class ClipboardFusionHelper
{
    public static string ProcessText(string text)
    {
        var secondsToAdd = 1;
        var currentDateTime = DateTime.Now;
        var newDate = currentDateTime.AddSeconds(secondsToAdd);
        var time = newDate.ToString("HH:mm:ss dd MMMM yyyy", CultureInfo.InvariantCulture);
        BFS.Clipboard.SetText(time);
        return null;
    }
}</pre><textarea id="code019de5b9994772b6adb11c79cec09b64" name="code019de5b9994772b6adb11c79cec09b64" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div>
</div>
]]></content:encoded>
</item>
<item>
<title>DateTime language</title>
<link>https://www.clipboardfusion.com/Discussions/View/datetime-language/?ID=7b1e63c0-eb6f-49b0-ac9a-0946995dd69f</link>
<pubDate>Mon, 02 Dec 2019 14:43:53 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.clipboardfusion.com/Discussions/View/datetime-language/?ID=7b1e63c0-eb6f-49b0-ac9a-0946995dd69f</guid>
<category>ClipboardFusion</category>
<description><![CDATA[Hi.
I'm using a macro to output a date and the current time +1 second, but the place that I send it to needs the format to be in english, and not Norwegian.
I'm using the following code:
Code
Copy
Select All
int secondsToAdd = 1;
DateTime currentDateTime = DateTime.Now;
DateTime newDate =...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hi.<br/>
I'm using a macro to output a date and the current time +1 second, but the place that I send it to needs the format to be in english, and not Norwegian.<br/>
<br/>
I'm using the following code:<br/>
<div class="col-md-12 BoxWrap"><div class="Box table-responsive"><a name="code" style="width:0; height:0;"></a><h2 class="TableTitle" style="border:0"><div class="TableTitleText">Code</div><div class="TitleButtons"><div class="TableTitleButton"><a href="#" onclick="return false;" data-clipboard-target="#code019de5b9994f734aaa35b67261eb7fdb" class="ClipboardCopyControl"><img src="https://www.clipboardfusion.com/MediaCommon/SVGs/FontAwesome/clone.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;width:auto;max-width:16px;height:16px;" /><span class="Text">Copy</span></a></div><div class="TableTitleButton"><a href="#" onclick="bfs.util.codeEditorSelectAll('code019de5b9994f734aaa35b67261eb7fdbJs'); return false;"><img src="https://www.clipboardfusion.com/MediaCommon/SVGs/FontAwesome/square-check.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;width:auto;max-width:16px;height:16px;" /><span class="Text">Select All</span></a></div></div></h2><div class="TableTitleContent table-responsive"><div class="AceEditorWrapper" style="border-top:solid 1px var(--color-default-border);padding:0"><pre id="code019de5b9994f734aaa35b67261eb7fdbJs" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">int secondsToAdd = 1;
                DateTime currentDateTime = DateTime.Now;

                DateTime newDate = currentDateTime.AddSeconds(secondsToAdd);
                 text = newDate.ToString("HH:mm:ss dd MMMM yyyy");
        BFS.Clipboard.SetText(text);</pre><textarea id="code019de5b9994f734aaa35b67261eb7fdb" name="code019de5b9994f734aaa35b67261eb7fdb" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div><br/>
        <br/>
When I paste it it outputs Desember, instead of December.<br/>
I just noticed the issue as I started using this in November, which is spelled the same way in both languages.<br/>
Is there a way I can make it use english form of the word?<br/>
<br/>
My googling found some info about CultureInfo but it didn't accept it.
</div>
]]></content:encoded>
</item>
</channel>
</rss>