Momwe Mungasungire Tsiku Lanu Laumwini Lisinthidwa Mwadongosolo Patsamba Lanu Kapena Pasitolo Paintaneti

Momwe Mungasankhire Chizindikiro Chanu Chaumwini

Takhala tikugwira ntchito molimbika kupanga kuphatikiza kwa Shopify kwa kasitomala yemwe ndi wamphamvu komanso wovuta… Ndi chitukuko chonse chomwe tikuchita, ndinali ndimanyazi pamene ndimayesa malo awo kuti ndiwone chidziwitso cha kukopera m'munsimu chinali chachikale ... kusonyeza chaka chatha m'malo mwa chaka chino. Kudali kuyang'anira kosavuta popeza tinali tidalemba gawo lolowetsa mawu kuti tiwonetse ndikungolemba molimba chaka momwemo kuti tipeze moyo.

Shopify Template: Sindikizani Chizindikiro cha Copyright ndi Chaka Chatsopano Ndi Liquid

Lero, ndasintha mutu wa Shopify template kuti musungitse chaka chaumwini kukhala chatsopano ndikuwonjezera zolemba zoyenera kuchokera pamawu. Yankho lake linali kachidutswa kakang'ono ka mawu amadzimadzi:

©{{ "now" | date: "%Y" }} DK New Media, LLC. All Rights Reserved

Nayi kusokonekera:

  • The ampersand ndi kukopera; imatchedwa HTML entity ndipo ndiyo njira yoyenera yosonyezera chizindikiro cha kukopera © kuti asakatuli onse awonetse bwino.
  • Mauthenga amadzimadzi amagwiritsa ntchito "tsopano" kuti adziwe tsiku la seva komanso tsiku loyambira: "%Y" imapanga tsikulo ngati chaka cha manambala 4.

Mutu wa WordPress: Sindikizani Chizindikiro cha Copyright ndi Chaka Chatsopano Ndi PHP

Ngati mukugwiritsa ntchito WordPress, yankho ndi chidule cha PHP:

&copy;<?php echo date("Y"); ?> DK New Media, LLC. All Rights Reserved

  • The ampersand ndi kukopera; imatchedwa HTML entity ndipo ndiyo njira yoyenera yosonyezera chizindikiro cha kukopera © kuti asakatuli onse awonetse bwino.
  • Chidule cha PHP chimagwiritsa ntchito "deti" kuti mupeze tsiku la seva komanso tsiku loyambira: "Y" imapanga tsikulo ngati chaka cha manambala 4.
  • Tangowonjezera bizinesi yathu ndi Ufulu Wonse Wosungidwa m'malo mokonza zosintha pamutu wathu… inde, mutha kutero.

Sindikizani Mwadongosolo Chizindikiro cha Ufulu ndi Chaka Chatsopano mu ASP

<% response.write ("&copy;" & Year(Now)) %> DK New Media, LLC. All Rights Reserved

Sindikizani Mwadongosolo Chizindikiro cha Ufulu ndi Chaka Chatsopano mu .NET

<%="&copy;" & DateTime.Now.Year %> DK New Media, LLC. All Rights Reserved

Sindikizani Mwadongosolo Chizindikiro cha Ufulu ndi Chaka Chatsopano mu Ruby

&copy;<%= Time.now.year %> DK New Media, LLC. All Rights Reserved

Sindikizani Mwadongosolo Chizindikiro cha Ufulu ndi Chaka Chatsopano mu JavaScript

&copy; <script>document.write(new Date().getFullYear());</script> DK New Media, LLC. All Rights Reserved

Sindikizani Mwadongosolo Chizindikiro Chaumwini ndi Chaka Chatsopano ku Django

&copy; {% now "Y" %} DK New Media, LLC. All Rights Reserved

Sindikizani Mwadongosolo Chizindikiro cha Ufulu ndi Chaka Chatsopano mu Python

from datetime import date
todays_date = date.today()
print("&copy;", todays_date.year)
print(" DK New Media, LLC. All Rights Reserved")

Sindikizani Mwadongosolo Chizindikiro Chaumwini ndi Chaka Chatsopano mu AMPscript

Ngati mukugwiritsa ntchito Marketing Cloud, mutha kugwiritsa ntchito njira iyi pamakalata anu a imelo.

&copy; %%xtyear%% DK New Media, LLC. All Rights Reserved

Mosasamala kanthu za pulogalamu yanu, kasamalidwe kazinthu, malonda a e-commerce, kapena nsanja ya imelo, ndikulimbikitsani kuti nthawi zonse musinthe chaka chanu chaumwini. Ndipo, ngati mukufuna thandizo pa izi - omasuka kulumikizana ndi kampani yanga Highbridge. Sitipanga mapulojekiti ang'onoang'ono kamodzi kokha koma tikhoza kuchita izi ngati gawo lalikulu la polojekiti yomwe mungakhale nayo.